mikygee / immobilier

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

BUG: In dictionary cant set up new immocost_type #6

Open Adventurousdonut opened 2 years ago

Adventurousdonut commented 2 years ago

First the french ones aren't listed in the dictionary (they're useless for other countries, should be deletable/editable in dictionary) and second 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 #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'

Adventurousdonut commented 2 years ago

Also related but not worth making an extra issue for it: In rental charges when i make a new rental charge and just use a french one for example and i create it and then i go in an look at the rental charge there's a menu button called "Répartition" what's that supposed to mean exactly? When i go in it and try to add repartitation with whatever amount and or type it just does nothing:

grafik

mikygee commented 2 years ago

Hello,

For point I) I guess the SQL insert should be with status instead of active INSERT INTO llx_c_ultimateimmo_immocost_type (rowid,ref,label,status) VALUES(1,'1','Water',1) I'll try to push a fix.

mikygee commented 2 years ago

For point II) I have no idea, I'll ask the main coder of this module. There are many parts on this module that I don't understand. I recently add infos when you rollover fields.

mikygee commented 2 years ago

Hello, For point I) I don't know how to fix it. The best thing is to open a bug in the main issue tracker. Regards

mikygee commented 2 years ago

Hello,

For point I) I think, Darkjeff replied and added a new mysql column that fixes the problem ALTER TABLE llx_ultimateimmo_immocost_type add active integer after status;

For point II) I asked him and he told me that this page is aimed to split costs that you might spend when you hire someone to do a work or goods between two apartments. I just updated the translation, I named it "split costs" wait until it's commited. However I still don't know how this page works, maybe it's work in progress.

Also I kind of finished the english translations, maybe it's a good time to update the autrichian translation file.

Adventurousdonut commented 2 years ago

Hey.

Ah ok, thanks for the explanation.

Alright, I'll try to update the german translation once i've got more time.