Releases: Dolibarr/dolibarr
22.0.4
***** ChangeLog for 22.0.4 compared to 22.0.3 *****
FIX: $param is the 5th parameter of print_liste_field_titre ($moreparam) (#36250)
FIX: 17.0: perweek.php resets task progress to 0% when: (#36401)
FIX: 18.0: GETPOSTDATE and buildParamDate assumed HTTP param names 'minute' and 'second' instead of 'min' and 'sec'
FIX: 19.0 - attachments upload dir for invoices not always determined correctly (doesn't always take multi-entity into account) (#36302)
FIX: #33148 - partial payments are taken into account in EPC QR codes (#36338)
FIX: #33899 API Timespent Service Field
FIX: #35061
FIX: #35096 #36393 Add minimal fields required asthe class is used by
FIX: #35141 (#36390)
FIX: #35375 Accountancy - SQL error on empty filter account category
FIX: #35655 API Contract Creation Fails for Non-Admin Users in Version 22.0.2
FIX: #36090 Accountancy - Inconsistent date on various journal
FIX: #36149 (#36150)
FIX: #36310 Accountancy - Data - Wrong account labels (cache) on write bookkeeping action (#36410)
FIX: #36334 - reload invoice data before pdf-creation in process of generating a new member contribution (#36335)
FIX: #36347 (#36358)
FIX: #36368 - avoid overlaying of EPC-QR Code and payment information (#36369)
FIX: #36576 - date creation is empty on import
FIX: Accountancy - #36090 Inconsistent date on various journal
FIX: Accountancy - No limit on chart of account to define category on account
FIX: Accountancy - Not propose to write operation on draft asset
FIX: Accountancy - Problem calculating exercises with different tax periods on fixed assets
FIX: Accountancy - Problem calculating fiscal year with different periods on fixed assets
FIX: Accountancy - Reverse accounting account in depreciation expense entries for fixed assets
FIX: Accountancy - Verify fiscal year on last hour to enable the integration of asset entries
FIX: allow a situation with credit to be removed from cycle
FIX: API task getTimeSpent to actually return data
FIX: avoid php warning error (#36330), avoid php warnings (#36301), (#36411)
FIX: Can Validated Holidays When Negative Balance
FIX: Concat of PDF to invoices (#36329)
FIX: create API temp directory in Dolibarr API constructor
FIX: DA027383: permissions not checked on HRM evaluation card (#36328) (#36399)
FIX: do not force rowid to int (#36412)
FIX: Email Collector Module: manage error when imap_fetchstructure return false. Previously it generated warning and fatal error because the returned value was not of type class
FIX: empty origin type passed to addline when creating invoices from expeditions using massaction (confirm_createbills) (#36413)
FIX: expense report card: do not show bank account if user cannot see them
FIX: expense report card: use correct bank module designator for detection
FIX: Export of extrafield in organized events
FIX: fix #36401 (for v17.0) doesn't work in v18.0+ because of variable renaming
FIX: | Fixing addPayment /invoices/id/payments
FIX: getEntity use element instead table_element (#36405)
FIX: Implementation of multi-company compatibility with inventory/warehouse management
FIX: info on supplier payment card on v22 and payment link
FIX: keep user who validate proposal on update (#36257)
FIX: List is filtered on task status when it should not
FIX: Missing AND on fields filter on evaluation class
FIX: missing p.default_vat_code in product import profile.
FIX: Missing Product ref in Bom stats
FIX: Mo::deleteLine() - stock movement correction (#34733)
FIX: Multicompany compatibility with "project_task"
FIX: not remove value of others extra-fields on update extras action
FIX: Object should be cloned here (#36289)
FIX: PR#36401 fixed a missing GETPOSTISSET() but the check involves a variable ($taskid) that was renamed ($tmptaskid) in 18.0
FIX: (propal): Incorrect HT/TTC recalculation when editing proposal lines #36514
FIX: (propal): values lost when editing HT price
FIX: propal shipping and availability update (v18+)
FIX: re-create API temp dir after purging temp files
FIX: remove situation invoice from cycle
FIX: remove useless condition to create credit on situation invoice (#35786)
FIX: Search all for supplier proposals via object reference
FIX: Selection of email when prefilled from a template
FIX: SQL error for LIST_OF_QUALIFIED_INVOICES_LIMIT_DEFINED
FIX: subtotal feature button availability according setup
FIX: TakePOS Missing Thirdparty Id when getting more products (#36341)
FIX: (tasks): dates in gantt view
FIX: undefined variables on create invoice card from order (backport from v19) or shipment card (backport from v20)
FIX: use array_intersect instead in_array
FIX: warning on select
FIX: wrong $param parameter position (#36265)
SEC: 7ed0af2
SEC: empty commit for CI automata
SEC: FIX: #36430 permissions not checked on other tabs of HRM evaluation card
SEC: fix IDOR attack on employee evaluation. Missing permission test atm-florianm@7ed0af2
SEC: permissions not checked on other tabs of HRM evaluation card
New Contributors
- @rlaurent-alb made their first contribution in #36622
- @atm-vincent-p made their first contribution in #36674
- @fpiccinali made their first contribution in #36731
Full Changelog: 22.0.3...22.0.4
22.0.3
FIX: 16.0: extrafield of type link to category causes SQL error in selectForFormsList() (#36074)
FIX: 20.0 ajax_constantonoff + FormSetup were ignoring custom css class (cssClass / $morecss) (#36039)
FIX: #33741 FIX: #35632
FIX: #35247 FIX: #35950 Using same option for landing page and home page
FIX: #35519 (security) missing check user rights (#35527)
FIX: #35520 FIX: #35522
FIX: #35568 (#35569)
FIX: #35573 FIX: #35241
FIX: #35634 (#35912)
FIX: #35766: Update buying price INT Float (#35769)
FIX: #35780
FIX: #35782
FIX: #35784
FIX: #35922 Lines of orders - Status filter unexpected beahavior (#35924)
FIX: #36025 Accountancy - Error when cloning directly from accounting entry (#36034)
FIX: #36046 enabling extrafieldmanaged to enable deletion of records from the llx_salay_extrafields table
FIX: #36113 (#36116)
FIX: access problem when label is used for next/prev (#35933)
FIX: Accountancy - Admin personalized report - Remove duplicate button (#35721)
FIX: Accountancy - General setup - Missing form on UpdateMask (#35735)
FIX: Accountancy - Missing subledger information on mass cloning (#35777)
FIX: Accountancy - Printing the subsidiary ledger returns the general ledger (#35719)
FIX: Accountancy - Print subledger balance return general balance (#35712)
FIX: Accountancy - Problem with general setup (#36067)
FIX: Accountancy - Return on wrong page on y/n button (#35978)
FIX: Add missing left join to filter by extrafields (#36092)
FIX: add possibility to override authoritative dns (#35699)
FIX: Allow decimals on services duration (#36031)
FIX: avoid link problem with employee list context (#36125)
FIX: avoid NULL value (#36126)
FIX: avoid php warning (#35756)
FIX: avoid php warning (#35953)
FIX: avoid php warnings (#35492)
FIX: Bad label for column title on multicurency
FIX: bad name for target import table (#35615)
FIX: broken feature ! (#35906)
FIX: Can approve holidays when negative balance (#36144)
FIX: categories: sql error in link extrafields targettings categories (#36236)
FIX: check if category module is enabled (#35770)
FIX: check if service is activated only for api product (#35911)
FIX: check if zip file of website exists (#35879)
FIX: Clear filter
FIX: clone of cron tasks
FIX: conflict between $user->id and $object->id (#36225)
FIX: create invoice from order using API and multi-entity (#35654)
FIX: day of ticket on takePOS. Backport 6abdb6e. (#35745)
FIX: Deletion of a donation. Button was disabled.
FIX: detection of setup not done with
FIX: dol_escape_htmltag in extrafields_view (#36136)
FIX: doubled display of PRoduct Stokable checkbox when STOCK_SUPPORTS_SERVICES on service edit card (#36138)
FIX: Email template fetching (#35738)
FIX: Error 500 on api if cache is on and directory does not exists
FIX: extra-field list depend on parent extra-filed list on direct edit (#35803)
FIX: filter on note lost when sorting company list
FIX: Hide AWP if product has no stock managed
FIX: Import/Export - Do not list imports or exports of Builder module backups of module descriptor files (#36192)
FIX: In shipment creation process, if product is not manage in stock, Dolibarr should not display a "low stock warning" (#36139)
FIX: in shippement creation with SHIPMENT_SUPPORTS_SERVICES and/or STOCK_DISALLOW_NEGATIVE_TRANSFER and/or stockable_product there are inconsistencies (#36140)
FIX: Invoice Situation - Octopus - Column offset for amounts greater than 5 digits (#36124)
FIX: Invoice Situation - Octopus - Shipping block overlap issue (#36122)
FIX: Invoice Situation - Octopus - Show remaintopay at bottom (#36121)
FIX: invoices payments on multicurrencies being converted as int (#35622)
FIX: Knowledge management - Button ReOpen show in draft mode (#36008)
FIX: Label shown when value is empty
FIX: late customer orders are not shown on start page (#36200)
FIX: link to sort of target email page
FIX: MAIN_AUTOFILL_DATE in supplier invoice display 01/01/1970 (#36087)
FIX: MAIN_SEE_SUBORDONATES sql request error (#35896)
FIX: Missing begin transaction, The status of customer was not
FIX: missing check if partership is enabled (#36169)
FIX: missing entity field (#36086)
FIX: missing entity filter (#35517)
FIX: missing entity filter (#35857)
FIX: missing entity filters + wrong widget name (#35873)
FIX: missing "printFieldListValue" hook (#35990)
FIX: missing prospect/customer category translation (#35814)
FIX: Must show unit price when price is not for quantity 1
FIX: muticompany compatibility (wrong sharing name) (#36013)
FIX: my previous fix was incompatible with Thomas' fix from PR#35590 (#35890)
FIX: no emails sent when closing a ticket (#35874)
FIX: notification email not sent : NOTIFICATION_EMAIL_FROM is replaced with MAIN_MAIL_EMAIL_FROM if it's empty (#35881)
FIX: notifications: correctly report email delivery errors (#35864)
FIX: not possible to search for billed and not billed supplier orders in the list (#35680)
FIX: Perf for bom select (#35871)
FIX: Performance Problem on load stats command (#35785)
FIX: pgsql: error when calculating depreciations (#34213)
FIX: php 8+ warnings when creating deposits (#35582)
FIX: prices must be HT in dolistore browser
FIX: product stock lists: prevent SQL error when filtering on physical stock (#36038)
FIX: resize iban column to support encryption (#36237)
FIX: Select correct approver when making a leave request for someone else (#36118)
FIX: Situation percent set as 0 when adding line on situation invoices (#35999)
Fix: sql error if LIST_OF_QUALIFIED_INVOICES_LIMIT_DEFINED is used (#36135)
FIX: sql syntax error (#35588)
FIX: Status if thirdparty not synchronized with status WON of
FIX: substitutions on subject of the sent email reminder of the event (#35621)
FIX: The IBAN into EPC qr code must use the default bank account if not
FIX: The order closing date was not filled in during the shipment validation (workflow module). (#36235)
FIX: The status of customer was not synchronized with opportunity status
FIX: thirdparty was never notified. Passing of contact ID information was not coherent. (#35590)
FIX: To have only the sender's entity when sending mail (#31053)
FIX: when creating a ticken on backend and adding a linked file, the 'notify thirdparty at creation' chackbox disappears. (#35595)
FIX: when display in view mode HTML extrafeilds content doubled (#36127)
FIX: Wrong cast on TVA rate when updating supplier order lines (#36106)
FIX: wrong check of hook return
FIX: wrong entity alias (#35821)
FIX: wrong entity filter (#35691)
FIX: wrong field name (#35728)
FIX: wrong getEntiy element name (#35771)
FIX: wrong number of categories by entity (#36111)
FIX: wrong socpeople id when multiple assigned + avoid php warnings (#35878)
Full Changelog: 22.0.2...22.0.3
22.0.2
What's Changed
- FIX - Fix missing token for disable custom group category for compta report by @kkhelifa-opendsi in #35084
- FIX: accountancy general ledger: bad handling of hook return by @marc-dll in #34029
- FIX set global mysoc and load langs in API access by @lvessiller-opendsi in #35041
- FIX Missing sentence part by @aspangaro in #35144
- FIX #35154 - Massaction createbills in reception list don't mind about order and/or thirdparty currency by @comaiteseb in #35156
- FIX missing quick edit for extrafields (backport commit 4fc66c6) by @lvessiller-opendsi in #35160
- FIX extra field list depend on parent list when editing a card by @lvessiller-opendsi in #35165
- FIX #35181 Cancelled purchase orders now shown as such in Project Overview by @bchanudet in #35186
- FIX: Add security test for show terminal selection if no terminal selected when invoice.php is call by @kkhelifa-opendsi in #34717
- FIX: Correct the calculation of the amount of the current period between the period provided by @kkhelifa-opendsi in #35083
- FIX: save the packaging qty on update buying price by @FHenry in #35234
- FIX: allow to create First Sutuation Invoice by @FHenry in #35228
- FIX Societe - Problem of date on outstanding opened late by @aspangaro in #35266
- FIX - Modify condition display button by @atm-lucasmantegari in #35257
- FIX 17.0: ContratLigne::fetch() returns 1 even if the line doesn't exist by @atm-florianm in #35324
- FIX missing check constant PROJECT_CAN_ALWAYS_LINK_TO_ALL_SUPPLIERS by @hregis in #33277
- FIX: #35407 After upgrade to version 22, local taxes were no longer … by @PsyCrow-code in #35408
- FIX tabname in modulebuilder by @DylanBourdere in #35431
- Fix title with html by @thersane-john in #35441
- FIX #35425 by @jtraulle in #35426
- FIX missing entity filter by @hregis in #35461
- FIX: Disable commerce tab when only 'fournisseur:lire' permission is granted by @DylanBourdere in #35467
- FIX wrong extrafield template in create mode (#35241) by @hregis in #35470
- FIX api orders : forward database error on failure (backport commit d9e81cb) by @lvessiller-opendsi in #35478
- FIX 21.0 check commande liste validate by @atm-GregM in #35479
New Contributors
- @bohdanpotuzhnyi made their first contribution in #35213
- @DylanBourdere made their first contribution in #35431
Full Changelog: 22.0.1...22.0.2
18.0.8
What's Changed
- FIX - issue 34656 : sendEmailsRemindersOnInvoiceDueDate interrupt loop when a single issue occurs on dataset processing by @mathieupotier in #34657
- Fix bug in product->get_sousproduits_arbo by @vmaury in #34561
- FIX: pre-send mail mass action: keep EMAIL substitution by @marc-dll in #34522
- fix ajax product with multiprices by @frederic34 in #34672
- check if rpmbuild/sources dir exists by @rycks in #34687
- remove dpatch and add debhelper+po-debconf by @rycks in #34685
- Fix #17816 match compta/paiement.php payment method for credit note ivoices for /invoices/paymentsdistributed API by @Hystepik in #34696
- fix: bad date management on update in time spent list if column is not displayed by @FHenry in #34511
- FIX 17.0: unlink cloned invoice from model invoice by @atm-florianm in #34777
- FIX 17.0 SQL errors in Facture::update() by @atm-florianm in #34778
- fix use of MAIN_CHECKBOX_LEFT_COLUMN in stockadate by @SylvainLegrand in #34783
- Fix : missing langs load on comm card file by @atm-maxime in #34812
- Enhance working days calculation to incorporate half-day adjustments and optimize public holiday checks by @atm-quentin in #34552
- FIX: asset: could not select invoice in disposal pop-in by @marc-dll in #34725
- Fix : contract line activation error when duration not defined by @atm-maxime in #34813
- FIX #34893 by @hregis in #34897
- FIX The combo of custom groups has disappeared (backport v19) by @lvessiller-opendsi in #35016
- FIX - Fix missing token for disable custom group category for compta report by @kkhelifa-opendsi in #35084
- FIX: accountancy general ledger: bad handling of hook return by @marc-dll in #34029
- FIX set global mysoc and load langs in API access by @lvessiller-opendsi in #35041
- Fix supplier invoice API by @SylvainLegrand in #35100
- FIX Missing sentence part by @aspangaro in #35144
- FIX missing quick edit for extrafields (backport commit 4fc66c6) by @lvessiller-opendsi in #35160
- FIX: Add security test for show terminal selection if no terminal selected when invoice.php is call by @kkhelifa-opendsi in #34717
- Fix discount applied 2 times on contract by @SylvainLegrand in #35219
- FIX: Correct the calculation of the amount of the current period between the period provided by @kkhelifa-opendsi in #35083
- 18.0 fix CVE 2024 40137 by @thomas-Ngr in #34762
- Prepare 18.0.8 by @rycks in #35299
New Contributors
- @mathieupotier made their first contribution in #34657
Full Changelog: 18.0.7...18.0.8
22.0.1
What's Changed
- FIX : main checkbox left column was before global conf by @atm-maxime in #34858
- FIX: asset: could not select invoice in disposal pop-in by @marc-dll in #34725
- FIX #34843 by @emheyarssi in #34875
- FIX avoid php warning with "$forceFullTextIndexation" by @hregis in #34881
- fix: fix download and preview for thirdparty document tab (backport fix PR #34833) by @FHenry in #34884
- Fix : contract line activation error when duration not defined by @atm-maxime in #34813
- Fix #34891 - Skonto/Escompte calculation involving foreign currency by @priojk in #34892
- fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail by @FHenry in #34894
- FIX DA026536: missing
in automatic e-mail by @atm-florianm in #34895 - FIX: extrafields of type "int" not displayed on
projet/tasks.phpby @atm-florianm in #34896 - fix CI v22 by @frederic34 in #34902
- FIX #34893 by @hregis in #34897
- fix CI v22 by @frederic34 in #34935
- Fix webportal search by date by @fappels in #34934
- FIX mailing destination list title by @fappels in #34929
- FIX #34939 status on purchase order kanban view by @hermans in #34945
- fix: with MAIN_MAIL_ADD_INLINE_IMAGES_IF_IN_MEDIAS and multicompany image are not find on send mail by @FHenry in #34946
- fix v22 by @frederic34 in #34957
- Bug Fix for issue 34898, default warehause and obj->endbrowid not exist on receipt.class by @hermans in #34959
- FIX: Create public ticket if email need exist. by @fappels in #34965
- Fix facture haader title on dolibar-21 by @hermans in #34993
- fix typo by @sonikf in #34999
- FIX The combo of custom groups has disappeared (backport v19) by @lvessiller-opendsi in #35016
- fix agenda with AGENDA_ALL_CALENDARS by @frederic34 in #35020
- FIX Undefined variable $outputlangs in expensereport card by @frederic34 in #35029
- Update some ID Language translation by @hermans in #35021
- FIX #35011 Computed extrafield on tasks list now display correct values by @bchanudet in #35038
- FIX user socid is fk_soc in llx_socpeople by @hregis in #35046
- FIX #35053 by @hregis in #35054
- FIX Update card_group.php : missing letter in Fistname by @Pichinov-Jose in #35077
- FIX #34857 Structured communication number checksum is now always correct by @bchanudet in #35081
- FIX Treasury accountancy - Accounting errors for members by @aspangaro in #35097
- FIX intervention API add line duration v22+ by @W1W1-M in #35117
- FIX: #33911 active services are reported as expired on the homepage by @ro78 in #35125
- FIX wrong country code in edit mode by @hregis in #35152
- fix #34872 by @sonikf in #35150
- FIX #35147 SQL Error on Beluga Export when ExpenseReport is enabled by @bchanudet in #35149
New Contributors
- @Pichinov-Jose made their first contribution in #35077
Full Changelog: 22.0.0...22.0.1
21.0.4
What's Changed
- FIX #35147 SQL Error on Beluga Export when ExpenseReport is enabled by @bchanudet in #35149
FIX: error when using a code too large in dictionary
FIX: Security when using Advanced Target page of emailing (feature hidden in v21, default in v22+). Possible SQL injection by users with permission to make and send mass emailing.
Full Changelog: 21.0.3...21.0.4
21.0.3
***** ChangeLog for 21.0.3 compared to 21.0.2 *****
FIX: #34843 (#34875)
FIX: #34936
FIX: #35005
FIX: #35006 SQL error when using external user
FIX: a Fatal error when a trigger files is not correctly named.
FIX: array for arrayofkeyval is lost in module builder edit of property
FIX: asset: could not select invoice in disposal pop-in (#34725)
FIX: avoid php warning with "$forceFullTextIndexation" (#34881)
FIX: bad consistency on test on permission to disable service
FIX: Can edit status of tasks
FIX: Create public ticket if email need exist. (#34965)
FIX: DA026536: missing br in automatic e-mail (#34895)
FIX: extrafields of type "int" not displayed on projet/tasks.php (#34896)
FIX: Filter on the balance of leave
FIX: Logo on company is no more visible.
FIX: mailing destination list title (#34929)
FIX: main checkbox left column was before global conf (#34858)
FIX: Missing a column on group permissions
FIX: several minor troubles with modulebuilder
FIX: Test on mandatory product or thirdparty barcode
FIX: trigger mailmanspip when un/linking categories
SEC: Remove functions accepting callable params - Reported by phdwg1410 - CVE-2024-40137
22.0.0
***** ChangeLog for 22.0.0 compared to 21.0 *****
For users:
NEW: Module WebPortal is moved as stable
NEW: Subtotal module (#33502) - development
NEW: shipment kits with dispatcher v2 (#33750)
NEW: ticket : display files linked to actioncomm (#32325)
NEW: Support of monthly or weekly recurring events
NEW: AI feature to autofill extrafields
NEW: Introduce the view "Kanban Grouped By" opportunity status in projects
NEW: #32706 - Treasury accountancy (#33701)
NEW: #33506 Add a constant to apply a ratio to resize images in ODT templates (#33543)
NEW: Accountancy - Add centralized account (SQL & migration part) (#33384) (#33577)
NEW: Accountancy - Add filter on chart of accounts (#33656)
NEW: Accountancy - Centralized account are highlighted (#33648)
NEW: Accountancy - Define fiscal year by default
NEW: Accountancy - Show subledger account in thirdparty
NEW: Add a delay to be sure that any Stripe action from webhooks are executed after interactive actions
NEW: Add also start date fill buttons for salary clone
NEW: Add a test mode for AI setup
NEW: Add DateMaxPayment option on selectDate (#33601)
NEW: Add/enhance the popup for preview of icons
NEW: Add field usenewcurrencyrate
NEW: Add globale MAIN_DISABLE_PDF_AUTO_DOWNLOAD_AFTER_CONVERT_FROM_ODT to disable the auto download after auto convert odt to pdf (#33511)
NEW: add home box mrp (#33549)
NEW: Add invoice tags
NEW: Add ip into table of website accounts
NEW: Add knowledgebase info on box_dolibarr_state_board.php (#33960)
NEW: Add link to create shipment on picto
NEW: Add link to picto help page on module builder
NEW: Add management of date begin/end and discount for a customer price (Code + SQL)
NEW: add new permissions to read supplier prices (#33598)
NEW: Add option MAIN_ALLOW_DOUBLE_COLON_IN_DOL_EVAL
NEW: Add option MAIN_MAIL_EMAIL_FROM_PASSWORDRESET
NEW: Add options on intervention clone popup to clone or not contact and notes
NEW: Add options PDF_XXX_SHOW_PRICE_INCL_TAX into PDF setup
NEW: add option to not prefill qty line at shipment creation
NEW: Add page list for categories.
NEW: Add parameters for the hook selectProductsListWhere (#33718)
NEW: add phone_mobile to export of thirdparty (#33893)
NEW: Add public page for donation module (#33978)
NEW: add setasnumber for forms (#33845)
NEW: Add Shared links on links in attachments (#33459)
NEW: Add tags / category on supplier invoice (#33490)
NEW: Add the possibility to merge PDF from the product list (#33723)
NEW: allow stock management by product (#32326)
NEW: attendee status Used - to ensure that only one attendee gets in on a ticket (#33987)
NEW: auto-detect country from code in creation (follow-up)
NEW: autofix mysqldump command for backup when path is wrong
NEW: Better presentation of list of user approver.
NEW: Can define a different PDF for concatenation for proposal, order and invoices
NEW: Can filter on field "Refuse emailing" in list of thirdparties.
NEW: Can filter on public/private notes in list sale orders thirdparties
NEW: Can filter on string with spaces if search criteria is inside quote.
NEW: Can force the tooltip before the text on column title.
NEW: Can link member subscription/contribution with proposal, order and invoice (#33647)
NEW: Can set a specific permission on an extrafields
NEW: cash control: add hidden setting to show total including taxed in detail by vat rate
NEW: Closing task
NEW: CONSTANT: ORDER_TYPE_CONTACT_DEFAULT
NEW: const PREVIEW_PICTO_ON_LEFT_OF_NAME for icon to preview documents (#33519)
NEW: Dictionary - Manage countries of SEPA Area
NEW: #22848 Add order tags
NEW: Filter on date creation/date modification in invoice list
NEW: fix #33456 (#33458)
NEW: force Extrafields values when constants THIRDPARTY_PROPAGATE_EXTRAFIELDS_TO_(ORDER|INVOICE) are set (#33954)
NEW: input reason for customer invoice (#33599)
NEW: Invoice - Add constant to prevent modification of an invoice (#33455)
NEW: Loan - Add total on each payment to see the global amount off the reimbursement
NEW: login page: button to toggle the visibility of the password (#33698)
NEW: Look and feel - Checkboxes and radio buttons are larger
NEW: Allow user to define the number of email sent by batch directly from mailing config page (#32750)
NEW: Mass action delete on donation list
NEW: Merge surface and volume in one line on product card.
NEW: Module external website is deprecated. Replaced with menu editor.
NEW: Move right from advance to normal for thirdparty information payment page (#33885)d
NEW: delays conf for supplier proposals (#33800)
NEW: new option in invoice setup to limit options of deposit invoice (#33468)
NEW: No auto open keyboard on smartphone when opening list of columns
NEW: On list, see complete ref customer/supplier with constant MAIN_SHOW_GLOBAL_REF_CUSTOMER_SUPPLIER (#33373)
NEW: Option MAIN_RESTRICTHTML_ONLY_VALID_HTML and MAIN_RESTRICTHTML_ONLY_VALID_HTML_TIDY are on by default
NEW: Option MAIN_SECURITY_MAXFILESIZE_DOWNLOADED become official
NEW: Order - Add drag & drop file (#33848)
NEW: reopen for interventions API (#33982)
NEW: Rounding unit price - line discount before applying quantity - option MAIN_APPLY_DISCOUNT_ON_UNIT_PRICE_THEN_ROUND_BEFORE_MULTIPLICATION_BY_QTY (#33690)
NEW: shipment with product in cache
NEW: shipment with warehouse in cache
NEW: Show code of stripe hooks supported in setup page
NEW: Show country flag in list of chart of account
NEW: Show IP of previous connection and date of last password change in the "Connection" widget.
NEW: Some trans keys to prepare a new website template (#33886)
NEW: SUBMIT_FOR_ALL_MARK_RESPAWN (#32101)
NEW: Supplier orders - Add tags/categories (#33386)
NEW: takepos cash control: add vat taxless total
NEW: The closing reason of invoice appear on tooltip of invoice status
NEW: The link "In accountancy" is now clickable to reach bookkeeping
NEW: The public media browser is now a stable feature
NEW: The signature is on the good page even if another module add pages
NEW: Toggle Display of Supplier Invoices and Credit Notes on Payment Page (#33856)
NEW: Try to set the tooltip as ajax call by default.
NEW: Update of currency supports also apilayer (not only currencylayer)
NEW: use specific landing page to home menu entry
NEW: Use the packaging feature to round the quantities to some given multiples for the sale
NEW: Use the PhpZipProxy handler to generate ODT files (avoid corrupted ODT with recent version of Libre Office).
NEW: vcard (vcf) download for third party (#31957)
NEW: Web pages of websites are protected by the WAF
NEW: Add constant to show stock in products combo
NEW: Can edit the module_source and pos_source field.
NEW: Accountancy - Add actions on entries (Cloning, assigning, returning)
NEW: Add conf PDF_HIDE_LINKED_OBJECT_IN_PUBLIC_NOTE to hide linked object in public note of pdf.
NEW: Add MULTICURRENCY_SHOW_ALSO_MAIN_CURRENCY_ON_PDF for legal requirement that need both currencies on PDF
NEW: Add note public and private on order export
NEW: Finish dev for API_ENABLE_COUNT_CALLS (count of API use is visible on user API key field)
For developers:
NEW: Add an API endpoint to get properties of a single line of an order (#34045)
NEW: add const to not include default CSS in top_htmlhead with DISABLE_CSS_DEFAULT_THEME
NEW: add const to not include default lib_head.js in top_htmlhead with DISABLE_LIB_HEAD_JS
NEW: add const to not include JQuery UI in top_htmlhead DISABLE_JQUERY_UI
NEW: add create category project link via api (#34016)
NEW: add creditnotelist var in fetch
NEW: add hook 'addMoreInformationsBlock'
NEW: Add hook on API call (#33501)
NEW: add hooks to modify select_produits_fournisseurs_list sql query
NEW: Adding API endpoints for event attendee handling (#33932)
NEW: Add internal contact of proposal, order and invoice on api call (#34009)
NEW: Add option to create simple shipment of non origin. SQL part (#34071)
NEW: add settodraft to the supplier invoice API (#34064)
NEW: Can set isMandatory property in generic setup framework
NEW: endpoints DELETE event atteendee by ID or REF (#33986)
NEW: endpoints GET event attendee by ID or REF (#33984)
NEW: endpoints PUT (update) event atteendee by ID or REF (#33985)
NEW: hidden conf for api contrat putLine endpoint to only return the line (#33809)
NEW: introduce method dolSetCookie
NEW: Invoice - Document - Add hook on action
NEW: Pagination data for intervention APi
NEW: Add experimental Website Template for Association
NEW: expense report API deny
WARNING:
The following changes may create regressions for some external modules, but were necessary to make Dolibarr better:
- The use of GETPOST function is not allowed inside extrafields conditions or any strings that contains dynamic code evaluated with dol_eval().
- The deprecated variable $trigger_name (duplicate of variable $triggersendname) has been removed. You must use $triggersendname everywhere now.
- The behavior of constant STOCK_ALLOW_NEGATIVE_TRANSFER has been reversed. It has been renamed into STOCK_DISALLOW_NEGATIVE_TRANSFER.
- Method Categoie->getObjectsInCateg() is deprecated. Try by using instead: getListForItem() or containing().
- Global variables $bctag, $conffiletoshowshort, $type2label has been removed.
- Deprecatedproperty ->fk_departement that was replaced by ->state_id has been completely removed.
- If you setup the API to update multicurrency rate from internet, you may need to re-enter your API key (so API key will be crypted in database).
- The signature of API get for intervention has been modified to match other get api on other objects.
- The directory /build has been moved into /dev/build.
- The API to create a website account /idthirdparty/accounts/site is now POST (instead of PUT) and to update is PUT (instead of PATCH).
- Debug v22 - Invert option TICKET_DO_NOT_INCLUDE_LINK_TO_CUSTOMER (that add lin...
21.0 2
***** ChangeLog for 21.0.2 compared to 21.0.1 *****
FIX: 21.0: $height and $width can be ints, but also 'auto' (#34636)
FIX: #33030 (#34460)
FIX: #33727 Sec
FIX: #33774 #34214
FIX: #33854
FIX: #34313 Accountancy - Export with sources no longer works (#34324)
FIX: (#34448)
FIX: #34541 (#34597)
FIX: #34564 (#34590)
FIX: #34591 FIX: #34692
FIX: #34618 (#34621)
FIX: #34654
FIX: accountancy: bad filter on custom account groups (#34205)
FIX: accountancy balance: keep subtotals when sorting (#34001)
FIX: accountancy closure: if subledger_label is not found, PHP8.2 throws an error. (#34736)
FIX: accountancy: create new french PCG25-DEV accounting system in upgrade (#34036)
FIX: accountancy expensereport journal: php 8.1 warning (#34457)
FIX: accountancy fec export: remove dol_print_date warning (#34363)
FIX: accountancy general ledger: last total not shown if last account group shown has only one entry (#34251)
FIX: accountancy lettering: php8.1 warning (#34469)
FIX: Accountancy - Problem with constant ACCOUNTANCY_COMBO_FOR_AUX (#34414)
FIX: accountancy sales/purchases journal: sql error logged when no invoice in journal (#34339)
FIX: accountancy: warning when account not found in plan (#34030)
FIX: a comment without after a comma create a sql error (#33752)
FIX: Add others allowed tags (table, tr, td) for the prices history table displayed in the link url of the supplier product in supplier product prices list (#34532)
FIX: add payment to bank (#34263)
FIX: allow double colon and string obfuscation in dol eval for computed extra fields (#34015)
FIX: API expense report line comments (v18+) (#34297)
FIX: Approver must be able to approve even if user not in hierarchy.
FIX: asset depreciation: division by zero (#34218)
FIX: asset depreciation: php warnings (#34219)
FIX: avoid sql error when a comment is after without comma (#33758)
FIX: Backport fix of substitution of thirdparty info in notification
FIX: backport of replaceement of thirdparty information on notification
FIX: bad value for company ref crashes canvas feature (#34331)
FIX: bank payment rejection on SEPA (backport commit 100a657) (#33838)
FIX: BankTransfer information in line.php (#34425)
FIX: BankTransfer link in list.php (#34513)
FIX: BankTransfer link in rejets.php (#34424)
FIX: Bug filters (#34546)
FIX: Can set default value of the nature of member
FIX: Can set the default value of nature of thirdparty
FIX: cash control report: php warning (#34358)
FIX: common fields: php warning with select input field (#34495)
FIX: constant PAYMENTBYBANKTRANSFER_ADDDAYS was never saved (#33799)
FIX: creating acredit note from the remain to pay was always 0
FIX: DetecHTML on upload file from filemanager fails due to need to lock
FIX: Disallow special char in name of oauth entries
FIX: do not add a filter on status when doing a global search on project
FIX: Do not allow to force amount for online payment of order
FIX: do not forget extrafields for BOM in export lines (#34020)
FIX: Edition of target of menu entries
FIX: element must be visible to set focus on select input when using default values (#34406)
FIX: email collector: php 8 warning (#34496)
FIX: encoding issues with underscores in mb_convert_encoding functionality (#34411)
FIX: ensure dir exists before trying to move something in it (#34211)
FIX: event info tab: php 8.1 warning (#34458)
FIX: expense report card: mail notifications not sent (#34556)
FIX: expensereport payment list: php warning (#34453)
FIX: expensereport: php warning when generating pdf with multilangs (#34492)
FIX: files lib: multiple php 8.1 warnings (#34462)
FIX: filter agenda on user and resource SQL error (#34580)
FIX: HTML broken by the trunc.
FIX: html title when using custom value
FIX: if filter is set on export for Duree type filed, then there is SQL error (#34616)
FIX: interventions: sql error when signed_status not set (#34515)
FIX: js warning (Backport commit 84d982c) (#34555)
FIX: local taxes text in object line view mode (#34103)
FIX: local taxes text in PDF (#34343)
FIX: mandatory extrafelds on lines are not checked (#34228)
FIX: manufacturing orders: php 8.1 warnings on agenda tab (#34475)
FIX: mass assignment of sale representative
FIX: Missing ol in no escape tags (#34261)
FIX: modification de dates de pièces comptables sur plusieurs entités différentes (#34226)
FIX: oauth: php 8 warnings (#34027)
FIX: online propal sign: double header with logo when custom logo set (#34504)
FIX: Order error translation (#33834)
FIX: page of bom when only bom module is on
FIX: partial result on timespent list (#33855)
FIX: pgsql: boolean fields correctly defined in creation but not in migration (#34215)
FIX: pgsql: case sensitivity in select queries (#34028)
FIX: pgsql: error when creating sequences in migration scripts (#34021)
FIX: PHP 8 Error 500 (#34545)
FIX: prelevement order list: handle case of use by banktransfer module (#33801)
FIX: pre-send mail mass action: keep EMAIL substitution (#34522)
FIX: prevent log warning with online signature url (#34361)
FIX: Product batch series - Title, help url et picto (#34560)
FIX: product multiprices: fatal error on vat update on php 8.2 (#34444)
FIX: product suplier tab: last modif date column was wrongly dependent of module barcode (#34170)
FIX: product translation: redirect after successful action (#34403)
FIX: projects: go back to edit view after cloning (#34221)
FIX: receptions: crash from api because of classes not found (#34523)
FIX: Remove useless amp; after & (#34288)
FIX: select supplier when creating object from project (#33766)
FIX: social contribution payment: correct error reporting (#34002)
FIX: stock control condition in reception delete (#33952)
FIX: Tmparray string not array (#34287)
FIX: Too heavy sql query (#34371)
FIX: try to fix v18 github action workflow (#34439)
FIX: Various payment - List - Can't see payment with subledger account (#34101)
FIX: warehouse list: broken status filter (#33667)
FIX: warnings when printing start/end date on line tpl (#34359)
FIX: wrong multicompany filter (#34714)
FIX: ws detection
18.0.7
***** ChangeLog for 18.0.7 compared to 18.0.6 *****
138 files changed, 1622 insertions(+), 530 deletions(-)
FIX: 17.0 API endpoints "PUT": prevent overwriting all extrafields if only some are supplied in the request cf. PR #29237
FIX: 17.0 - collisions in cache for dol_getIdFromCode
FIX: 17.0 - missing error handling for FactureRec::fetch in card-rec.php
FIX: 17.0: warnings due to uninitialized variables + delete code that doesn't apply to recurring invoices (AFAIK, there is no recurring credit note feature)
FIX: #21294 Stock import sql query
FIX: #26250 fatal error on kit
FIX: #32339 Delete a loan settlement is partial
FIX: #33038 drag and drop files are not prefixed with object reference
FIX: #33117 accountancy export Quadratus when doc ref is less than 10 char
FIX: #33145 wrong label status buy on product tooltip
FIX: accountancy export Quadratus when doc ref is less than 10 char
FIX: bad dispatched quantities for batches on shipment card
FIX: bank payment rejection on SEPA (backport commit 100a657) (#33838)
FIX: calculate start date of cloned task from cloned project (#31799)
FIX: can not delete files in task card
FIX: close all services on contract will close all lines (#33466)
FIX: compatibility with multicompany
FIX: constant PAYMENTBYBANKTRANSFER_ADDDAYS was never saved (#33799)
FIX: Count on supplier invoice list does not match count in DB (#33351)
FIX: #CVE-2024-34051
FIX: delete supplier order line when linked to customer order line
FIX: delete supplier order when at least one line linked to customer order line
FIX: display error when loan can't be deleted
FIX: display full tree on shipment card when a kit contains a same component in other sub-kit
FIX: Fix case when the value of a extrafields of the type 'boolean', 'select' or other have an option with a value equal to '0'.
FIX: Fix return value of hook sendMail when hook return -1 who must be return false in sendfile() function
FIX: GETPOST('private_message')
FIX: in projet/element.php total_time is always back to 0
FIX: invoice creation : use dol_include_once instead of require_once to allow external modules
FIX: invoice creation : use dol_include_once instead of require_once to allow external modules.
FIX: issue #28222 Edit date extrafield displayed on all on lines (#31914)
FIX: Many status on invoice linked object block
FIX: Multilangs : PDF lines description
FIX: ODT substitution when many HTML tags in string
FIX: old copy not needed in supplier order create method (#31733)
FIX: PAIEMENT Wrong field displayed for DateChequeReceived (#33390)
FIX: phpcs
FIX: product variants copy: also copy multiprice variations
FIX: qual
FIX: removes traces of <<<HEAD conflicts following the postponement of branch 13 modifications (#32014)
FIX: Replace compromised tj-actions/changed-files (#33481)
FIX: selectcontact is loading all contacts if socid is empty and MAIN_ACTIONCOM_CAN_ADD_ANY_CONTACT is not set
FIX: selectcontact is loading all contacts when update event
FIX: select group and severity search fields on ticket list
FIX: send email to assigned user on ticket create
FIX: send mail to BCC when email formatted as Fullname (#31983)
FIX: Show true error when send notify email at validate expense report
FIX: status ticket update for new message
FIX: swiftmailer: correctly set errors-to header (#31826)
FIX: TakePos barcode rule (#31857)
FIX: There were many status indicator in the invoice linked object block (propal card)
FIX(ticket): Notification email without public interface
FIX: Update on a sold line of bank entries set the type to empty, now it's fixed #22539 (#31888)
FIX: update status on create supplier order for trigger (#31642)
FIX: use tax with code on supplier order line give tax code missing in supplier invoice (#32018)
FIX: use vat with code on supplier order result code missing in supplier invoice
FIX: warehouse list: broken status filter (#33667)
FIX: warnings (#33423)
FIX: wrong left margin (v18 to develop ?)
FIX: wrong message on update shipment
FIX: wrong update function parameter