[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

Hello Kim,

Thanks for your reply!

As I said before, I was following Gemini’s instructions to create the variables and trying to resolve the issue. I’m a finance guy, not a programmer. But, where can I read the “Setup Other” Variables documentation?

Also, is there a way to configure accounting to different GL accounts depending on the warehouse?
IE: Warehouse 1 - Inventory Account (Assets) 1275
Warehouse 2 - Inventory Account (Assets) 1276
Warehouse 3 - Inventory Account (Assets) 1277
Variance Warehouse 1 (COGS) - 5275
Variance Warehouse 2 (COGS) - 5276
Variance Warehouse 3 (COGS) - 5277

Thanks in advance for your kind reply!

Sterling
The True North - Canada

Hello Sterling,

the documentation about the setup other functions of Dolibarr you can find:

As Dolibarr is open source I am pretty sure it can do what you need with some programming.
Unfortunately I don’t understand your request good enougth to check that.

So you would like to connect a Warehouse to an account - correct?
What I don’t get is why exactly this is needed because all numbers you can get from the warehouse section as well. I am pretty sure I don’t get the point because I am everything but finance guy. But if you an explain I will check what changes are necessary.

Regards,
Kim