Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] Module to add EORI number to company form #52

Merged
merged 4 commits into from
Dec 2, 2018

Conversation

lfreeke
Copy link

@lfreeke lfreeke commented Nov 19, 2018

No description provided.

@luc-demeyer
Copy link
Contributor

Thanks for this contribution.
Can you fix the rst error ?
I am not sure if the 'intrastat' repo is the best place to host this module since EORI is for 'extracom' business whereas intrastat is for 'intracom' but we already host the 'product_harmonized_system' module so we can imho merge this module into this repo and think about a more generic import/export/customs kind or repo for the upcoming Odoo releases.

@pedrobaeza
Copy link
Member

We can also rename the repository if needed.

@pedrobaeza pedrobaeza added this to the 8.0 milestone Nov 20, 2018
@lfreeke
Copy link
Author

lfreeke commented Nov 20, 2018

@luc-demeyer I fixed the rst errors. It seems Travis is failing because of another module.

I had trouble to find a place for this module, it doesn't really fit in other repo's too. A Custom repo is a good idea, we all have more or less the same requirements in Europe.

@luc-demeyer
Copy link
Contributor

I'll fix the travis error via a separate PR.
What about renaming the repo to intrastat-extrastat ?

@pedrobaeza
Copy link
Member

OK, seems reasonable

@luc-demeyer
Copy link
Contributor

@alexis-via do you agree with rename of repo to intrastat-extrastat ?

@alexis-via
Copy link
Contributor

I must say I don't really like the idea of renaming the project.
Let's have this module for EORI here and keep the project with it's current name. Let's keep things simple!

@pedrobaeza
Copy link
Member

@alexis-via there's no problem in renaming. References to old name will still work without problems. We have already done it for other repositories when the content has been adjusted.

@alexis-via
Copy link
Contributor

Yes, I know renaming the project is technically not a problem. But I think that the current name of the project should be kept because the word "intrastat" has been used in Odoo for a very long time (at least since v5, cf https://github.com/odoo/odoo/tree/5.0/addons/report_intrastat), so everybody knows what it means ! If we change the name, it will be another story !!!
And I think we can accept this module without changing the name of the project.

@pedrobaeza
Copy link
Member

But the word will be kept. We are only adding -extrastat...

@alexis-via
Copy link
Contributor

OK, fine :) :)

:alt: License: AGPL-3

===================
company_eori_number
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set a proper name for your module here.

Installation
============

To install this module, you need to:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this or give proper instructions.


To configure this module, you need to:

#. No need for configuration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If something does not apply, remove the section completely (ex. remove Configuration)

:target: https://runbot.odoo-community.org/runbot//8.0


Known issues / Roadmap
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, this can be removed

Usage
=====

To use this module, you need to:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could fill this in.

Contributors
------------

* lfreeke <lfreeke@therp.nl>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Set your name here before your email

"version": "8.0.1.0.0",
"author": "Therp BV,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fill these in.

company_eori_number/models/res_company.py Outdated Show resolved Hide resolved
@luc-demeyer
Copy link
Contributor

@lfreeke @daramousk
I have updated the PR with the feedback of daramousk. Please review.

@pedrobaeza
can you rename the repo to 'intrastat-extrastat' ?

@pedrobaeza
Copy link
Member

@luc-demeyer, I think @alexis-via is still not convinced about the name change.

@luc-demeyer
Copy link
Contributor

3 days ago Alexis reacted with "OK, fine :) :)" (cf. conversation history before the comments of daramousk) hence you can go ahead.

@pedrobaeza
Copy link
Member

Repository renamed.

Copy link
Author

@lfreeke lfreeke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@sbidoul
Copy link
Member

sbidoul commented Dec 2, 2018

@pedrobaeza when renaming repositories, one needs to think about weblate.

@pedrobaeza
Copy link
Member

OK, let me try. Maybe we should make a Wiki page about renaming?

@pedrobaeza
Copy link
Member

OK, as both were duplicated right now, but with exact contents, I have removed the projects with old name.

@luc-demeyer luc-demeyer merged commit fa322e0 into OCA:8.0 Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants