-
-
Notifications
You must be signed in to change notification settings - Fork 845
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
[RFC] brand, the path forward #765
Comments
New model res.brand: #766 |
Update for sale_brand #920 |
Update for account_brand #577 |
Should we create a new repo OCA/brand? And about the model name, why |
I thought that brands can be seen as system resources and in the same
registry like users, companies, partners, ..
Le ven. 16 août 2019 à 22:28, Pedro M. Baeza <notifications@github.com> a
écrit :
… Should we create a new repo OCA/brand? And about the model name, why
res.brand?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#765?email_source=notifications&email_token=ADAUEQMXRUSGFLS6LOUCWA3QE4EXPA5CNFSM4IMGHXUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4PT5MI#issuecomment-522141361>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADAUEQMVSUCSIMBH4HWW47TQE4EXPANCNFSM4IMGHXUA>
.
|
Looks like we are doing the same as Odoo: We discuss a topic publicly but internally the decision seems to be already made and the job already done... :) Anyway, I don't have any strong opinion about where and how the repo/module/object is named/developed. What matters is to maintain the same scope for our current customer. If @acsone takes the leadership of maintaining the repo/modules, you can do as you wish. What I would like to know is whether you will take:
Thank you. |
Eh eh sometimes dev goes faster than I think. Nothing is done, no worries the PRs are up for discussion. To clarify the context, I created this RFC following design comments that were made by myself and @pedrobaeza on #754. We have additional requirements that make it necessary to evolve the current data model. We think the requirements are generic enough to propose to OCA.
What we are proposing do indeed change the datamodel but keep functionality and come with full migration scripts, as well as a longer term roadmap described in this issue, to make it as easy as possible for your customer to migrate. I'm mentioning you to get your input in the hope to find a robust design for everyone. Regarding the passive/active role, and "doing as we wish" I don't understand what you want to say exactly. |
I tend to think the
@pedrobaeza a new repo would make sense. Now or for v13? Should it be a new PSC too, or do you think an existing PSC could take it in charge? |
If @max3903 agrees, we can do the repo now. As for PSC, I would detach it from other PSCs, as it's very transversal (product, invoicing, sales...). |
+1 for the new repo |
I completely agree with the roadmap and the new repo. One of our customers had its own solution for brands (called sales.channel by them), based on partners with extra attributes. This caused lots of problems. Having a separate brand, or res.brand whatever, model makes much more sense. |
As the new repository has been created, and already has the proposed modules, I close this issue here. |
Hi,
We currently have two independent approaches for brands in OCA:
We have more requirements for brand (such as defining receivable/payable accounts by brand, or adding multi-company support on brands) for which neither approach is totally adequate. For that we need a separate
brand
object, since extendingres.partner
will be confusing and will not work in the long run.So the first step we propose is as follow:
partner_brand
to create abrand
object with delegation inheritance onres.partner
, with migration scriptssale_brand
andaccount_brand
, with migration scriptsThis is not perfect, but it's a first step to evolve what is merged today. Further down the road we can consider making
product_brand
depend on this newbrand
model, and possibly replace the delegation inheritance by something else.@max3903 @pedrobaeza any opinion on this approach?
cc/ @sbejaoui
The text was updated successfully, but these errors were encountered: