Giter Club home page Giter Club logo

community-data-files's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

community-data-files

TODO: add repo description.

Available addons

addon version maintainers summary
account_payment_unece 17.0.1.0.0 alexis-via UNECE nomenclature for the payment methods
account_tax_unece 17.0.1.0.0 alexis-via UNECE nomenclature for taxes
base_bank_from_iban 17.0.1.0.1 Bank from IBAN
base_currency_iso_4217 17.0.1.0.0 Adds numeric code and full name to currencies, following the ISO 4217 specification
base_iso3166 17.0.1.0.0 ISO 3166
base_unece 17.0.1.0.0 astirpe alexis-via Base module for UNECE code lists
company_sanitary_registry 17.0.1.0.0 Sanitary Registry
l10n_eu_nace 17.0.1.0.0 rafaelbn yajo edlopen European NACE partner categories
product_fao_fishing 17.0.1.0.0 Set fishing areas and capture technology
uom_unece 17.0.1.0.0 astirpe alexis-via UNECE nomenclature for the units of measure

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

community-data-files's People

Contributors

alexis-via avatar astirpe avatar badbole avatar bosd avatar carlosroca13 avatar edlopen avatar emagdalenac2i avatar etobella avatar flotho avatar gelo-fl avatar ivorra78 avatar javierobcn avatar lbelorgey avatar lk-eska avatar manuelregidor avatar marylla avatar miquelrforgeflow avatar mymage avatar nguyenminhchien avatar oca-git-bot avatar oca-travis avatar pedrobaeza avatar ramiadavid avatar sbejaoui avatar sbidoul avatar sergio-teruel avatar syera94 avatar weblate avatar youelel avatar yvaucher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

community-data-files's Issues

[16.0] l10n_eu_nace - migration script

I'm working on a migration script for that module as I forgot to add one when I migrated the module. Hopefully on Monday I'll push a PR for this issue.

[12.0CE] base_iso3166 - pycountry 19.8.18 not compatible

When installing the module base_iso3166 the installation fails if the pycountry version installed is 19.8.18. The documentation states: " It works also with pycountry >= 16.11.8" but for 19.8.18 that statement seems to no longer be true.
After downgrading back to 16.11.8 the installation works fine, also I've tested updating de pycountry after successful installation with 16.11.8 to 19.8.18 again and after that the module does not work, reverting to 16.11.8 again makes it work just fine.

tracebackerror.txt

Improvements for NACE addons

We have just developt an addon for downloading NACE items in proper languages and associating them to partner via a custom field, instead of category. More details in OCA/partner-contact#106. Main new features are:

  • Use custom partner fields (main_nace/many2one and secondary_naces/many2many), don't use res.partner.category. Reasons:
    • NACE texts are so long
    • NACE items have rich descriptions to indicate user when used them.
  • Downloads NACE items from RAMON online service, and translates them in all available languages (all languages of European Community countries) through a wizard.
  • Filter partners by main NACE activity
  • Group partner by main NACE activity

As @clonedagain comments:

The existing NACE module uses partner categories because several community modules worked this way.
If you think it's wrong please just make a proposal to change the existing module.
I for one have no preferences. If others agree with you I'd not block, as long as migration scripts are provided.

We do not have enought resources to improve OCA/community-data-files/l10n_eu_nace addon and we have already partner_nace addon in production in one customer. But, we moved this PR to our public repo, Antiun/antiun-odoo-addons@59b062c, in order to allow anyone to do pending work:

  • Merge new features (Antiun/antiun-odoo-addons/partner_nace)
  • Provide migration scripts from current version (l10n_eu_nace) to new implementation

References:

Compute BIC automatically from IBAN

regarding "base_bank_from_iban"

Is your feature request related to a problem?

Because the IBAN is sufficient to fetch the corresponding BIC and Country, it would be a great improvement to do this automatically.

Another problem is, that the module did not quite work for me, following the same steps as in the test instruction and the test file. For the exact same data it worked, but as soon as I have changed to German banks and partners it did not work correctly.

Describe the solution you'd like

On a partner's bank account list: when entering an IBAN it should check for available banks, if none is available it should suggest/ask if a new bank should be created with the information available from this API:
https://openiban.com/validate/DE89370400440532013000?getBIC=true

Describe alternatives you've considered

Additional context

When creating SEPA mandates sometimes BIC codes are necessary, but these are not always available in the database and it is time consuming to check for the BIC codes, while this can be automated.

Looking forward to your response, best regards
Michael

Migration to version 16.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Migration to version 17.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

European Union TARIC and Quota data and information

Hello,

I'm working for a French customer running Odoo v13.0 EE on Odoo.sh and migrating to v16.0 CE.

Enterprise edition has a module account_intrastat that can help to declare EMEBI (ex-DEB) monthly to customs services, but it is quite simple.

So, we decided in 2021 to develop extra features on a private module inspired by several OCA modules :

To ease the configuration by logistic and accounting department employees, this module embed every TARIC codes suitable for France (also called NC8) at date with secondary units. This is 9000+ codes.

Now that we want to migrate to CE, we will use the OCA modules listed before, but we wonder if the database for TARIC codes could be useful for the community.
Of course, some codes were added and some removed, so we need to update this database.

The complete up-to-date database is accessible in the TARIC and Quota data and information page.
As described in that page :

Tariff data, nomenclature and reference files are updated every month. The nomenclature is extracted by default in English, French and German and, twice a year, in all official languages (except Maltese and Gaelic, which are not included in the TARIC)

Describe the solution you'd like
We'd like to know if someone is interested in a new l10n_eu_taric module that would bring the TARIC nomenclature (with translations) and keep it up-to-date.
For the moment, we have to migrate codes with translations for EN and FR

Describe alternatives you've considered
Maybe we can also automate the update by fetching data daily...

Additional context
@alexis-via, we are working with Akretion for that customer, and I know that you're well informed on the EMEBI topic, so feel free to comment.

We're not sure if this is the right place for such module, maybe l10n-france is a better one... any suggestions are welcome

[14.0 an others] base_iso3166: recurrent pycountry version installation error

When installing base_iso3166 many issues are documented related to pycountry version (see #108 and #108 ). I've recently faced another one with v14 and Python 3.8. Depending on the Odoo/Python active version, is it possible to pin a certain version of this library and prevent this issue, or is it a bad practice, and any error should be fixed upgrading or downgrading pycountry library?

Module

base_iso3166

Describe the bug

When installing the addon, an error is raised. In v14 and Python 3.8.10 case a LookupError one. It's been fixed downgrading pycountry from 20.7.3 to 19.8.18.

To Reproduce

It seems to be a general problem, depending on the development status of pycountry library and the Odoo target version.

Steps to reproduce the behavior (in v14):

  1. Use a Python 3.8 environment, e.g. 3.8.10.
  2. Install pycountry via pip, without version selection.
  3. Install an addon that depends on base_iso3166 (e.g. l10n_es_facturae, for Spanish l10n) => an error is fired.

Expected behavior
Installation without errors

Additional context
If in this issue is defined a clear strategy for v14, I'd make a PR, but I'm not sure which soluction fits better OCA conventions (oca_dependencies.txt, manifest file, setup file,...)

cc @rousseldenis @pedrobaeza

Migration to version 13.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-13.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Wanting to contribute!

Hi folks!

I'd like to contribute to the development of the NACE modules. I didn't know the existence of this project, so I developed a module of my own with spanish CNAE version. This module sets an entity for NACE records (only spanish version), and relates it to leads and partners through many2many_tags widgets on their respective forms. It also writes the NACE codes of a given lead to the partner created when lead is escalated to opportunity.

I thought I'd better somehow refactor and integrate my work into this project. If you agree, let me know how I can help.

Migration to version 14.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

[8.0] base_iso3166 code_alpha3 recomputation

Hi, the Python module 'pycountry' now uses an underscore in some parameters:

>>> import pycountry
>>> len(pycountry.countries)
249
>>> list(pycountry.countries)[0]
Country(alpha_2='AF', alpha_3='AFG', name='Afghanistan', numeric='004', official_name='Islamic Republic of Afghanistan')

So, when a modification in the field 'code' triggers the recompute function '_compute_codes(...)', it fails.

    @api.multi
    @api.depends('code')
    def _compute_codes(self):
        for country in self:
            try:
                c = pycountry.countries.get(alpha_2=country.code)
                country.code_alpha3 = c.alpha_3
                country.code_numeric = c.numeric
            except KeyError:
                try:
                    c = pycountry.historic_countries.get(alpha_2=country.code)
                    country.code_alpha3 = c.alpha_3
                    country.code_numeric = c.numeric
                except KeyError:
                    country.code_alpha3 = False
                    country.code_numeric = False

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.