Commit Graph

5772 Commits

Author SHA1 Message Date
Alexandre Janniaux
b02742ebe1 FIX #32178: repair.php: fix missing 'as' with Postgres (#32179)
Fix the following SQL error when executing the repair script on 19.0.x
and above.

        Error DB_ERROR_SYNTAX (Req 159): create table tmp_bank_url_expense_user (select e.fk_user_author, bu2.fk_bank from llx_expensereport as e, llx_bank_url as bu2 where bu2.url_id = e.rowid and bu2.type = 'payment_expensereport');
        ERROR: 42601: syntax error at or near "select" LINE 1: create table tmp_bank_url_expense_user (select e.fk_user_aut... ^ LOCATION: scanner_yyerror, scan.l:1145
2024-12-01 23:03:08 +01:00
Laurent Destailleur
56925afe8e Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-11-05 17:16:01 +01:00
thomas-Ngr
c396a08cb2 fix const WORKFLOW_RECEPTION_CLASSIFY_CLOSED_INVOICE (#31601)
* rename const WORKFLOW_EXPEDITION_CLASSIFY_CLOSED_INVOICE to WORKFLOW_RECEPTION_CLASSIFY_CLOSED_INVOICE

* edit wrong SQL erquest
2024-10-29 17:34:30 +01:00
Laurent Destailleur
0ed4c9f8e7 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-10-24 19:59:03 +02:00
Laurent Destailleur
d9d0618eec Fix avoid unexpected deletion on accounting account when using multicompany 2024-10-24 03:06:23 +02:00
Laurent Destailleur
55bd7a33a4 Fix migration 12-13 2024-09-24 16:29:53 +02:00
Laurent Destailleur
8ca5a0edc6 Fix for non utf8 tables 2024-09-05 12:01:58 +02:00
boudet jean pascal
10924547ea FIX : attached file on first page load (#30694)
* fix attached file on first page load

* PRE-COMMIT

* set mode init

* Update 18.0.0-19.0.0.sql

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>

---------

Signed-off-by: Laurent Destailleur <eldy@destailleur.fr>
Co-authored-by: jpb <jean-pascal.boudet@atm-consulting>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2024-09-01 15:13:53 +02:00
sonikf
1baec9ab27 Update tva for Greece (#29849)
* Update tva for Greece

* Update tva for Greece

* Update tva for Greece

* Update tva for Greece
2024-06-09 03:19:11 +02:00
daraelmin
5821a87ac3 Fix 18.0 - Update VAT for Switzerland (#29760)
VAT in Switzerland was increased on January 1, 2024.

See: https://www.estv.admin.ch/estv/fr/accueil/taxe-sur-la-valeur-ajoutee/taux-tva-suisse.html
2024-05-26 15:16:56 +02:00
Laurent Destailleur
aa4fc45650 Fix regression in v19 migration 2024-04-18 02:41:05 +02:00
atm-adrien
394ed480d3 FIX : Scale for the "second" unit (#29327)
* FIX : Update of the second unit scale

* FIX : Pr returns
2024-04-12 12:21:22 +02:00
Regis Houssin
2d936bf1c9 FIX postgresql error (#28542)
* FIX postgresql error

* FIX better index name
2024-03-01 12:38:06 +01:00
Laurent Destailleur
1a25a086cb FIX quote in sql request 2024-02-24 17:49:11 +01:00
Laurent Destailleur
8ad9dc5b44 Merge branch '19.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-02-23 16:41:33 +01:00
Laurent Destailleur
7b1dc74b9e Fix corrupted data 2024-02-23 15:25:22 +01:00
Laurent Destailleur
2acfea2f0c Fix corrupted data 2024-02-23 15:24:47 +01:00
Laurent Destailleur
a626b1b693 FIX migration missing 2 columns in llx_resource and 1 in llx_user 2024-02-14 14:14:16 +01:00
Ikarus
66604c12d3 Add region and departament for Cuba (#28046)
* Update llx_10_c_regions.sql

Add Cuba Regions (id_country=77)

* Update llx_20_c_departements.sql

Add Provinces Cuba (id country=77)
2024-02-07 16:26:07 +01:00
Alexandre SPANGARO
15004cb256 Fix SQL migration 2024-01-30 06:52:10 +01:00
Laurent Destailleur
2a7a47d3ad Debug v19 - missing migration line 2024-01-28 00:14:19 +01:00
Laurent Destailleur
7a4128b8b6 Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into 19.0 2024-01-25 01:38:49 +01:00
Laurent Destailleur
d873cc43ed Fix missing migration 2024-01-25 01:38:28 +01:00
Laurent Destailleur
c6d13d98e9 Fix missing column in migration 2024-01-25 01:37:57 +01:00
Alexandre SPANGARO
52c005e909 Update VAT rate 2024 for Switzerland 2024-01-23 17:41:41 +01:00
Laurent Destailleur
0719a2f9dc Fix missing tms field 2024-01-18 00:47:02 +01:00
Mathieu "rid" Soula
c7557671e1 Fix add tms field into llx_bom_bomline 2024-01-18 00:45:12 +01:00
Laurent Destailleur
77306d7155 Fix sql 2024-01-01 20:14:11 +01:00
Laurent Destailleur
98009ea6be Merge branch '18.0' of git@github.com:Dolibarr/dolibarr.git into develop
Conflicts:
	ChangeLog
	htdocs/compta/bank/class/account.class.php
	htdocs/core/modules/supplier_order/doc/pdf_cornas.modules.php
	htdocs/langs/en_US/recruitment.lang
	htdocs/master.inc.php
	htdocs/projet/contact.php
2023-12-17 22:17:14 +01:00
Laurent Destailleur
1a7f674bd5 Fix add tms field to help debug v19 and sepa payment pbs 2023-12-14 14:01:28 +01:00
daraelmin
9a151ebe2c FIX v18 SQL error in llx_c_forme_juridique.sql when installing
insert into llx_c_forme_juridique (fk_pays, code, libelle) values (0, ‹ 0 ›,‹ - ›);

 And

insert into llx_c_forme_juridique (fk_pays, code, libelle) values (1,‹ 00 ›,‹ Organisme de placement collectif en valeurs mobilières sans personnalité morale ›);

throws an error as the column 'code' is integer not varchar and value must be unique

see : https://www.dolibarr.fr/forum/t/nouvelle-instalation-forme-juridiques-des-tiers-pratiquement-vide/44489/4
2023-12-05 08:19:28 +01:00
Mohamed DAOUD
dc4d5111aa New add evaluation report pdf module HRM (#26850)
* add rh evaluation report pdf

* Update modHRM.class.php

* fix phpcs modHRM.class.php
2023-11-26 15:51:00 +01:00
Laurent Destailleur
fad47c8d9e Debug v19 2023-11-21 23:16:17 +01:00
Lucas Marcouiller
7ac162ed91 Fix bookcal data structure (#26791)
Co-authored-by: Hystepik <lucas.marcouiller@gmail.com>
2023-11-21 23:12:44 +01:00
Laurent Destailleur
ed122e5408 Clean depracted table 2023-11-20 17:46:57 +01:00
Regis Houssin
3fb520aa3f FIX sql syntax error (#26711) 2023-11-18 11:55:12 +01:00
evarisk-micka
5f67a182b8 NEW #26668 [SQL] add SPL in dict form_juridique (#26669) 2023-11-17 16:40:40 +01:00
Regis Houssin
8af42acf8e FIX avoid error during install (#26630) 2023-11-17 12:17:59 +01:00
Pascal Hubrecht
13f2ae60ef fix duplicate index in llx_expensereport (#26614) 2023-11-16 15:00:42 +01:00
Maxime Kohlhaas
6d749046a1 Fix SQL migration 18-19 (#26626) 2023-11-16 14:56:09 +01:00
Laurent Destailleur
599632c671 Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into
develop
2023-11-15 11:47:58 +01:00
Laurent Destailleur
0cc541bb4a Standardize fields 2023-11-15 11:47:15 +01:00
Laurent Destailleur
d9df238ac4 Clean code and prepare database for reception from any source 2023-11-14 17:33:50 +01:00
Frédéric FRANCE
d46988fe62 add missing migration table index (#26576) 2023-11-14 01:54:29 +01:00
atm-sami
3406ebbe3b New add extrafields for mo line with sql (#26564)
* added recursive deletion option for child MOs + added recursive recovery method for child MOs

* add number of MOs in form_confirm

* update to delete number of mo childs if is null

* added checking of an infinity loop

* review PR

* add extrafields for mo line with SQL
2023-11-13 20:58:23 +01:00
sonikf
c18588550b NEW: Add invoice subtype in template invoice (SQL part) (#26535)
* Add column subtype

* Add column subtype

* Add column subtype in llx_facture_rec and llx_facture_fourn_rec
2023-11-10 18:52:17 +01:00
Laurent Destailleur
c16ac9b7de Debug v19. Prepare compatibility 8.2 2023-11-09 14:28:50 +01:00
atm-lena
85beb3ea5d Unit Management for MO lines (#26120)
* Unit Management for products in bom and mo

* WIP

* Unit in to produce tab

* FIX wip

* float val

* Fix Travis

* fk_unit type int

* Clean code

* Clean code

* FIX code sniffer

* Update llx_mrp_production.sql

* Update 18.0.0-19.0.0.sql

---------

Co-authored-by: atm-lena <lena.papazian@atm-consulting.fr>
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
2023-11-06 11:15:43 +01:00
Laurent Destailleur
fe0eb11d16 Fix missing migration 2023-11-06 00:52:21 +01:00
Lenin Rivas
1e6788aec6 NEW Manage rate indirect. (#26449)
* Indirect exchange rate

* Indirect exchange rate

* Indirect exchange rate

* Indirect exchange rate
2023-11-03 16:29:40 +01:00