-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[18.0][MIG] sale_order_type: Migration to 18.0 #3352
base: 18.0
Are you sure you want to change the base?
Conversation
87aa471
to
916934c
Compare
/ocabot migration sale_order_type |
@matiasperalta1 Could you rebase as I've updated pre-commit for v18 ? I suggest you to install it locally before committing |
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.
Functional review OK
181505a
to
be54ca1
Compare
531da3a
to
df8f0a5
Compare
This PR has the |
@rousseldenis Is it ready to merge? |
@pedrobaeza Pedro! Is it ready to merge? |
25beab6
to
408ce7d
Compare
Hi @pedrobaeza @rousseldenis, what do you think about analytic_account_id no longer exists in the sale.order model? PR |
Good question @lef-adhoc, and indeed Odoo has removed the duality, only keeping the analytic distribution in the lines, so it doesn't seem correct to keep it in this module, or at least not without extra code that transfer such analytic account to the analytic distribution of each line. |
408ce7d
to
52c126b
Compare
@pedrobaeza @lef-adhoc Good observation. I have already removed everything related to the analytic_account_id field that no longer exists. |
ondelete="restrict", | ||
check_company=True, | ||
) | ||
analytic_account_id = fields.Many2one( |
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.
This should be removed as well, isn't it? Anyway, we are stripping out a feature that may be used. The alternative is to put by default this account when adding a line.
52c126b
to
12549bb
Compare
12549bb
to
bbe13db
Compare
No description provided.