Empty "Commercial proposal documents models" list?

HELP!!!
Why is my “Commercial proposal documents models” empty.
Dolibarr 8.0.4 on Debian 9

Do not know if I massed up some settings, my “Commercial proposal documents models” now is empty, i used to have some templates can pickup to use on proposal.
Now they are gone.
Please help.

under /usr/share/dolibarr/htdocs/core/modules/propale/doc
I have three files
pdf_azur.modules.php
doc_generic_proposal_odt.modules.php
index.html
check “changed date”, they are untouched. permission are also normal.

You should check …\htdocs\core\modules\supplier_proposal\doc

What PHP version? Any Cache software active (besides ZEND opcache)? Any file-permission changes?

Hello Clarence & Peter,

Apologies for posting in this thread. Let me know if you prefer that I create a new thread. Thanks.

@Clarence: are you still having this issue? If not, how did you solve it?
@Peter: I have the same/similar problem.
My PHP version:
PHP 5.6.36 (cli) (built: Apr 27 2018 10:27:01)
Copyright © 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies

NB:

  1. I have nothing in the section “Commercial proposal documents models” on the “Commercial proposals module setup” page.
    But the folder /www/dolibarr/htdocs/core/modules/propale/doc/ contains the Azur, Cyan & a customised model.
    All have the same permissions “-rw-rw-r–”.
    Also, on the “Proposal card” page, I can choose between the Azur & the customised models, but the Cyan model is missing the drop-down Document template list.

  2. For the “Supplier order” on the Supplier module setup, everything is OK.

  3. On the “Invoices module setup” page, I have a similar problem as for the commercial proposals.
    I see the “crabe” invoice document model, but not the “sponge” model.
    However, both files exist in the /www/dolibarr/htdocs/core/modules/facture/doc/ folder.
    But I do not see the “sponge” option in the document template drop-down list on an Invoice card page.

Any help is most welcome.

Thank you

Hi,

Most probably an external module that affect this.

Hello ksar,

Thank you for your reply.
If by “external”, you mean modules not included in the original source code, then please note that I do not have any external module.

Is there some way to troubleshoot this?

Hi,

Yes it is exactly what I mean.
The well known module “custom fields” even if it is désactivated, if you have the files on your server, it will put this kind of mess.

The other possibility is a read/write permission problems.

If you are sure that the two above are ok, then you have only one solution : Make a fresh install and import you database + documents.

ksar,

Thanks for helping out.

Should the “custom fields” module appear on the “Modules/Application setup” page? I do not see it there.
Do you know where the files for the “custom fields” module would be located in the dolibarr folder structure?

Thank you

search for a directory named “customfields”

The command find /www/dolibarr -name "*customfields*" did not find anything