Darkjeff / ultimateimmo

module dolibarr estate rent
GNU General Public License v3.0
33 stars 34 forks source link

Bug: Can't set up a new immocost_type in dictionary / Can't delete/modify french ones #97

Open Adventurousdonut opened 2 years ago

Adventurousdonut commented 2 years ago
  1. The french ones aren't listed in the dictionary (they're useless for other countries, should be deletable/editable in dictionary)

  2. If i try to add my own i get following error:

Dolibarr has detected a technical error. This information can be useful for diagnostic purposes (you can set option $dolibarr_main_prod to '1' to hide sensitive information): Date: 20220826143442 Dolibarr: 15.0.0 - https://www.dolibarr.org/ Level of features: 0 PHP: 7.2.24-0ubuntu0.18.04.10 Server: Apache OS: Linux demo-dolibarr-biz 5.4.41-1-pve https://github.com/mikygee/immobilier/issues/1 SMP PVE 5.4.41-1 (Fri, 15 May 2020 15:06:08 +0200) x86_64 UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0

Requested URL: /custom/ultimateimmo/dict.php?id=6 Referer: https://demo.dolibarr.biz/custom/ultimateimmo/dict.php?id=6 Menu manager: eldy_menu.php

Modules/Applications: user, modulebuilder, bookmark, import, export, fckeditor, cashdesk, mailing, paypal, multicurrency, socialnetworks, ultimateimmo, fastsearch, workflow, propal, emailcollector, contrat, expedition, ficheinter, supplier_proposal, incoterm, tax, loan, prelevement, product, comptabilite, stock, productbatch, projet, notification, agenda, banque, barcode, commande, don, ecm, expensereport, facture, fournisseur, holiday, margin, opensurvey, resource, salaries, societe, stripe, ticket, variants, website, recruitment, knowledgemanagement, adherent, reception, service, categorie, bom, mrp Database type manager: mysqli Latest database access request error: INSERT INTO llx_c_ultimateimmo_immocost_type (rowid,ref,label,active) VALUES(1,'1','Water',1) Return code for latest database access request error: DB_ERROR_NOSUCHFIELD Information for latest database access request error: Unknown column 'active' in 'field list'

Darkjeff commented 2 years ago

ALTER TABLE llx_ultimateimmo_immocost_type add active integer after status;

I commit on update.sql