-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
[ADD] sale_order_type: change of analytical account by project #3500
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
base: 18.0
Are you sure you want to change the base?
Conversation
9ed0a91 to
b3085ac
Compare
nicolascol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Hi @rvalyi ! |
b3085ac to
7b8447b
Compare
|
@matiasperalta1 Could you rename your commit and this description as this is more correct: But, with this change, existing installs will loose data. It should contain migration scripts if possible. |
rousseldenis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But, IMHO, this is not correct as analytic account still exists.
This is a change of behavior as an analytic account is not a project. That's why you've added a new dependency from sale_project.
If you want to assign a project to the type, you should do a new module that allow that.
|
Hi @rousseldenis |
StefanRijnhart
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a migration script to assign the project with the account_id matching the original analytic_account_id values on the order types?
f9c4571 to
b206df8
Compare
b206df8 to
11b112a
Compare
|
@matiasperalta1 Could you fix tests ? |
|
@rousseldenis @StefanRijnhart @matiasperalta1
What do you think of going with "1" and "2a"? |
No description provided.