[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dolibarr-dev] Extrafields in external module
From: |
Jean-François FERRY |
Subject: |
Re: [Dolibarr-dev] Extrafields in external module |
Date: |
Sat, 11 Aug 2012 13:05:53 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 |
Attached is a patch for extra fields to allow the use by an external
module. I added a test for the existence of the table (eg
mymodule_extrafileds). The problem was in the setup module to define
extra fields
For data manipulation, it works by adding calls to hooks.
Le 11/08/2012 11:47, Jean-François FERRY a écrit :
> Hello,
>
> I would use the extrafieldsfeatures in an external module. But in the
> file core/class/extrafields.class.php, the object type is limited to
> member, company, contact and product (hard coded) :\
>
> Is there a way to use them on another object while avoiding Modify the core?
>
>
>
>
> _______________________________________________
> Dolibarr-dev mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
dolibarr-dev_extrafields.patch
Description: Text Data