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

Rename company.suffix definition to company.legal_entity_type #1574

Closed
ST-DDT opened this issue Nov 20, 2022 · 14 comments · Fixed by #2975
Closed

Rename company.suffix definition to company.legal_entity_type #1574

ST-DDT opened this issue Nov 20, 2022 · 14 comments · Fixed by #2975
Assignees
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs good first issue Good for newcomers m: company Something is referring to the company module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Milestone

Comments

@ST-DDT
Copy link
Member

ST-DDT commented Nov 20, 2022

Clear and concise description of the problem

The company suffixes currently refer to the company/business entity type (not sure about this term) and not a real suffix in the usual sense.

Suggested solution

We should rename the suffix to type (both the definitions and method).

Alternative

No response

Additional context

Discovered here: #1573

@ST-DDT ST-DDT added p: 1-normal Nothing urgent s: needs decision Needs team/maintainer decision c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: company Something is referring to the company module labels Nov 20, 2022
@ST-DDT ST-DDT added this to the v8.0 - Module Re-Shuffling milestone Nov 20, 2022
@ST-DDT
Copy link
Member Author

ST-DDT commented Nov 20, 2022

Blocked by #1575

@ST-DDT ST-DDT added the s: on hold Blocked by something or frozen to avoid conflicts label Nov 20, 2022
@Shinigami92 Shinigami92 added s: accepted Accepted feature / Confirmed bug and removed s: needs decision Needs team/maintainer decision labels Nov 20, 2022
@ST-DDT ST-DDT removed the s: on hold Blocked by something or frozen to avoid conflicts label Jan 26, 2023
@xDivisionByZerox
Copy link
Member

This is not blocking for v8. If we had found this earlier and deprecated in v7.6 that would be something else. But in the current state, we can deprecated (and add the desired function) at any point during v8.x.

@xDivisionByZerox xDivisionByZerox changed the title Rename company.suffix to company.type Rename company.suffix definition to company.type Feb 15, 2023
@xDivisionByZerox
Copy link
Member

Regarding term: The german locale has a legal_form file. This could be a good name.

@matthewmayer
Copy link
Contributor

The method is already deprecated. So this is just about how to name the definition file? Seems that doesn't really matter (and could even be locale dependant, for example if a locale typically has prefixes instead of suffixes for companies)

@xDivisionByZerox
Copy link
Member

Probably also for later feature implementation.
company.suffix() was simply not clear enough what its intent was. It could be implemented in a later version with a more descriptive name.
But for now only the definition file name.

These are my thoughts on this.

@matthewmayer
Copy link
Contributor

FWIW Wikipedia calls these "Legal entity types" https://en.wikipedia.org/wiki/List_of_legal_entity_types_by_country

@xDivisionByZerox xDivisionByZerox added the s: needs decision Needs team/maintainer decision label Jul 15, 2023
@xDivisionByZerox
Copy link
Member

Discussion: What should the locale file be exactly renamed to? This decision should br made in a team meeting and should consider all already provided names.

@ST-DDT
Copy link
Member Author

ST-DDT commented Aug 31, 2023

Team Decision

  • We will rename suffix to legal_entity_type.

@xDivisionByZerox xDivisionByZerox removed the s: needs decision Needs team/maintainer decision label Aug 31, 2023
@ST-DDT ST-DDT changed the title Rename company.suffix definition to company.type Rename company.suffix definition to company.legal_entity_type Aug 31, 2023
@xDivisionByZerox xDivisionByZerox added the good first issue Good for newcomers label Sep 9, 2023
@ST-DDT ST-DDT added the deprecation A deprecation was made in the PR label Oct 10, 2023
@ST-DDT ST-DDT self-assigned this Nov 14, 2023
@ST-DDT
Copy link
Member Author

ST-DDT commented Nov 15, 2023

This only affects the locale data/definitions -> v9.0 only.

@ST-DDT ST-DDT removed the deprecation A deprecation was made in the PR label Nov 15, 2023
@ST-DDT ST-DDT modified the milestones: v8.x, v9.0 Nov 15, 2023
@RacketyWater7
Copy link

I intend to take this issue as my first; but need a little heads up.

@ST-DDT ST-DDT assigned RacketyWater7 and unassigned ST-DDT Feb 20, 2024
@ST-DDT
Copy link
Member Author

ST-DDT commented Feb 20, 2024

I intend to take this issue as my first; but need a little heads up.

Welcome to the project. What kind of heads up do you need?

@ST-DDT
Copy link
Member Author

ST-DDT commented Jun 6, 2024

@RacketyWater7 We would like to include this in v9.0.
Do you have time to tackle this in this month?

@cakuki
Copy link

cakuki commented Jun 7, 2024

@RacketyWater7 We would like to include this in v9.0. Do you have time to tackle this in this month?

Is there any target for v9 release?

@ST-DDT
Copy link
Member Author

ST-DDT commented Jun 7, 2024

There is no specific target date.
We just plan to release it "soon"/after finishing the remaining tasks in our milestone:

I estimate this will take roughly a month (might be less, might be more).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs good first issue Good for newcomers m: company Something is referring to the company module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
No open projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

6 participants