I’m creating a Template in ODT for my proposals, it’s very cool and straightforward!
Nevertheless, I’m trying to export the third party user information, think to it in this way: my proposal is a letter which begins with a line which sounds as: “To the attention of: Mr. Doe [person of the customer firm], ecc”
I already read the instruction on the wiki, but it appears that I don’t want to create a new module as the Proposal model is already enough for me. So how should I modify the PHP files (I’m a programmer) in order to add this tag for the template?
i have the same problems with my ODT, I have created a complimentary attributes in Project Module, and i use {object_options_xxx} but dont seem to be working, i tried to move around but in-vain.
Everyone keeps on telling me to use {object_options_xxx} where xxx is the code of the extra field, but to me it doesnt work with the odt file, it seems like it is not pre-defined somewhere.
Not sure if i have to modify some php codes first for this to work
Please help
{object_options_cust_att_2} and {object_options_cust_att_2} would be a way to go for the Customer Order ODT
bibotech could you name your attributes which you created for your project module. I myself am not using that particular module, however I can give it a shot to test if it’s working for me.
@ saraksha, have you found where the template location is? if not here you go
C:\dolibarr\www\dolibarr\htdocs\install
I installed dolibarr in my c drive, change your root directory appropriately.
and you also will have to specify your directory on your customer order module setup page.
@nithin,
Thank you, didn’t work though (I’ve tried it once before)
I think that both our problems (me and bibotech) is because we need to use the extra fields of the “third party” or “company” in another module. In my case it’s the orders. That’s why I believe bibotech is right and we need to init the custom fields in php before we can access them. basically, we are not trying too address the correct object with the {object_options}