Brasil has divided into 5 regions and 27 states, more info at

https://en.wikipedia.org/wiki/Subdivisions_of_Brazil


El 19/09/17 a las 12:44, Laurent Destailleur (aka Eldy) escribió:
For you, there is no sense, because your country separation is on 1 level, but for some country, the separation is on 2 levels. Changing the name will not solve any problem, depending on your country there is so many different names:
region, county, department, state, province, etc...
the name may be used for a different level in different countries.

Just remind

country -> region -> department  are tables.

If you need country and state, so state is departement, and keep 1 entry into region that is country to keep the link working.






2017-09-19 12:23 GMT+02:00 Sasa Ostrouska <cas...@gmail.com <mailto:cas...@gmail.com>>:



    On Mon, Sep 18, 2017 at 11:26 PM, Laurent Destailleur (aka Eldy)
    <e...@destailleur.fr <mailto:e...@destailleur.fr>> wrote:

        Hi Saxa
        The state combo takes data into llx_departments.
        If you have only on level, just create one regions called
        brazil and put your states into llx_departments.


    Hmmm, but why then we have 2 tables for the same data ? Does this
    have sense ? Also I see the llx_c_regions to
    be a more appropirate name for the states than llc_departments.
    Not that it matters but then what the llx_c_regions
    table is used for ?

    Rgds
    Saxa

        2017-09-18 18:42 GMT+02:00 Sasa Ostrouska <cas...@gmail.com
        <mailto:cas...@gmail.com>>:

            Hi I would like to ask for a help on how to solve my issue
            with state names not being available on my install.

            I do not know if this would be better on a users or dev
            mailing list. I ask for apologize already if this is the
            wrong list.

            So I have my dolibarr install upgrading from 2.9 series if
            I recall correctly.
            During that time I have been upgrading it constantly
            without problems up to
            what is today 6.x series.

            In the beginning there was no states in the Dolibarr
            itself and I was using some home made solutions. But since
            now there is a dictionary and the states are available I
            would like to configure all third parties with the correct
            state where the
            third is from.

            Right now when I am creating a new third party, I can
            easily select the country
            and for most of them is Brasil. But when I do want to
            select the state in the
            state drop down menu, there is no option at all, just it
            shows a white dropdown menu.

            I have all the states in the dictionary llx_c_regions and
            no one is configured in llx_c_departements which I think
            it is correct. As they are regions and not departments.

            Also maybe the name for the table llx_c_departments is
            probably not the most appropriate.

            Here is a screenshot of the third party creation page with
            the dropdown menu open https://imgur.com/a/j9ali .

            Is there a way on make this work correctly ?

            Rgds
            Saxa


            _______________________________________________
            Dolibarr-dev mailing list
            Dolibarr-dev@nongnu.org <mailto:Dolibarr-dev@nongnu.org>
            https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
            <https://lists.nongnu.org/mailman/listinfo/dolibarr-dev>




-- EMail: e...@destailleur.fr <mailto:e...@destailleur.fr>
        Web: http://www.destailleur.fr
        
------------------------------------------------------------------------------------
        Google+:
        https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/
        <https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/>
        Facebook: https://www.facebook.com/Destailleur.Laurent
        <https://www.facebook.com/Destailleur.Laurent>
        Twitter: http://www.twitter.com/eldy10
        <http://www.twitter.com/eldy10>
        
------------------------------------------------------------------------------------
        * Dolibarr (Project leader): https://www.dolibarr.org (make a
        donation for Dolibarr project via Paypal:
        cont...@destailleur.fr <mailto:cont...@destailleur.fr>)
        * AWStats (Author) : http://awstats.sourceforge.net (make a
        donation for AWStats project via Paypal:
        cont...@destailleur.fr <mailto:cont...@destailleur.fr>)
        * AWBot (Author) : http://awbot.sourceforge.net
        * CVSChangeLogBuilder (Author) :
        http://cvschangelogb.sourceforge.net
        <http://cvschangelogb.sourceforge.net>



        _______________________________________________
        Dolibarr-dev mailing list
        Dolibarr-dev@nongnu.org <mailto:Dolibarr-dev@nongnu.org>
        https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
        <https://lists.nongnu.org/mailman/listinfo/dolibarr-dev>



    _______________________________________________
    Dolibarr-dev mailing list
    Dolibarr-dev@nongnu.org <mailto:Dolibarr-dev@nongnu.org>
    https://lists.nongnu.org/mailman/listinfo/dolibarr-dev
    <https://lists.nongnu.org/mailman/listinfo/dolibarr-dev>




--
EMail: e...@destailleur.fr <mailto:e...@destailleur.fr>
Web: http://www.destailleur.fr
------------------------------------------------------------------------------------
Google+: https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/ <https://plus.google.com/+LaurentDestailleur-Open-Source-Expert/> Facebook: https://www.facebook.com/Destailleur.Laurent <https://www.facebook.com/Destailleur.Laurent>
Twitter: http://www.twitter.com/eldy10 <http://www.twitter.com/eldy10>
------------------------------------------------------------------------------------
* Dolibarr (Project leader): https://www.dolibarr.org (make a donation for Dolibarr project via Paypal: cont...@destailleur.fr <mailto:cont...@destailleur.fr>) * AWStats (Author) : http://awstats.sourceforge.net (make a donation for AWStats project via Paypal: cont...@destailleur.fr <mailto:cont...@destailleur.fr>)
* AWBot (Author) : http://awbot.sourceforge.net
* CVSChangeLogBuilder (Author) : http://cvschangelogb.sourceforge.net <http://cvschangelogb.sourceforge.net>




_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

--
HTML Online Editor Sample


 Un cordial saludo.

*Responder al email <mailto:jmen...@2byte.es>*
**Juanjo Menent Solanes**
**Departamento de Desarrollo 2byte.es <http://2byte.es/>**
<http://www.2byte.es/>

2byte.es Soluciones Informáticas S.L. <http://www.2byte.es/>
www.2byte.es | jmen...@2byte.es <http://www.2byte.es/>
*CENTRAL: 985 675 996* <http://www.2byte.es/>

<http://www.dolibarr.es/>

*Preferred Partners * <http://www.dolibarr.es/>*Dolibarr.es <http://Dolibarr.es/>* *2b...@dolibarr.es <mailto:2b...@dolibarr.es> | http://www.dolibarr.es <http://www.dolibarr.es/>* <http://www.2byte.es/tubyte.es/index.php/erp-dolibarr/conector-dolibarr-prestashop> Antes de imprimir este correo electrónico piense bien si es necesario hacerlo: El medioambiente es cosa de todos. <http://www.2byte.es/tubyte.es/index.php/erp-dolibarr/conector-dolibarr-prestashop> INFORMACION SOBRE PROTECCION Y TRATAMIENTO DE DATOS PERSONALES: Este mensaje y los archivos adjuntos son confidenciales y se dirigen exclusivamente a su destinatario. Si no es usted el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si usted ha recibido este correo por error, por favor avísenos inmediatamente a través de  correo electrónico  o por teléfono, descritos en la parte superior, y tenga la amabilidad de eliminarlo de su sistema. En cumplimiento de lo establecido en la Ley Orgánica 15/1999, de 13 de Diciembre, de Protección de Datos de carácter Personal le informamos que sus datos personales quedarán incorporados en los ficheros de la empresa, con el fin de _poderle prestar y ofrecer nuestros servicios además de noticias relacionadas con nuestra actividad_.  Así mismo,  le informamos de la posibilidad de que ejerza los derechos de acceso, rectificación, cancelación y oposición de sus datos de carácter personal siendo el responsable del fichero la propia empresa, cuya dirección figura en la parte superior. <http://www.2byte.es/tubyte.es/index.php/erp-dolibarr/conector-dolibarr-prestashop>
_______________________________________________
Dolibarr-dev mailing list
Dolibarr-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à