[v22.0.4] Missing "Accounting" Tab on Warehouse Card and Missing Permissions

Hello community,

I am struggling to enable the Accounting tab on my warehouse cards in Dolibarr v22.0.4 (installed via Plesk/Softaculous). Despite following all standard procedures in the documentation and on the forum, the tab and its associated permissions remain missing.


DOLIBARR ENVIRONMENT

  • Version: 22.0.4
  • Operating System: Online Plesk Server - Sectorlink
  • Web Server: PLESK : Version Apache
  • PHP: 8.3.30 - run PHP as FPM Application
  • Database: MySQL or MariaDB 10.6.25-MariaDB
  • URL(s): Mysite.com/product/stock/card.php
  • PHP-FPM settings:
    pm.max_children 30
    pm.max_requests 0
    pm ondemand
    pm.start_servers 1
    pm.min_spare_servers 1
    pm.max_spare_servers 1
    memory_limit 512M (Default)
    max_execution_time 30 (Default)
    max_input_time 60 (Default)
    post_max_size 64M (Default)
    upload_max_filesize 64M (Default)
    opcache.enable on (Default)
    disable_functions opcache_get_status

The Problem: I need to assign specific accounting accounts (Inventory and Variation) to a consignment warehouse and other warehouses. However, the Accounting tab does not appear on the Warehouse card, and the required permissions to manage it are not visible in the User Management section.

Steps Taken:

  1. Other Setup Parameters: Added ACCOUNTING_ENABLE_WAREHOUSE = 1, ACCOUNTANCY_USE_WAREHOUSE_ACCOUNT = 1, and MAIN_FEATURES_LEVEL = 2. (Verified: No $ prefix was used).

  2. Module Reset: Disabled and re-enabled both the Stock and Accounting modules multiple times to force a refresh of the constants.

  3. Permissions Check: Checked Home > Users & Groups > Permissions. The options for “Manage accounting accounts on warehouses” are completely absent from the Stock module list.

  4. Browser Cache: Performed hard refreshes in Safari and Chrome.

Question: Is there a known conflict in v22.0.x that prevents these accounting-warehouse bindings from activating? Additionally, since I am on a Plesk-hosted server, could there be a specific PHP restriction (like open_basedir or a missing PHP extension) that prevents the accounting scripts from updating the menu/tab structure when the module is toggled?

I’ve wasted hours following up on Gemini’s instructions to no avail. Can someone help me determine what the heck I’m doing wrong?

Any guidance would be greatly appreciated!

Thanks in Advance!

Sterling
The True North - Canada

Hi Sterling,

I was trying to understand: ACCOUNTING_ENABLE_WAREHOUSE = 1, ACCOUNTANCY_USE_WAREHOUSE_ACCOUNT = 1 but those are not in the documentation of “Setup Other” so I guess they do not exist.

Would " ACCOUNTANCY_USE_PRODUCT_ACCOUNT_ON_THIRDPARTY" help on your task?

Regards,
Kim