-
-
Notifications
You must be signed in to change notification settings - Fork 289
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] res_company_search_view: Migration to 18.0 #751
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] res_company_search_view: Migration to 18.0 #751
Conversation
Currently translated at 100.0% (3 of 3 strings) Translation: multi-company-16.0/multi-company-16.0-res_company_search_view Translate-URL: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-res_company_search_view/es/
Currently translated at 100.0% (3 of 3 strings) Translation: multi-company-16.0/multi-company-16.0-res_company_search_view Translate-URL: https://translation.odoo-community.org/projects/multi-company-16-0/multi-company-16-0-res_company_search_view/it/
street2 = fields.Char(store=True) | ||
zip = fields.Char(store=True) | ||
city = fields.Char(store=True) | ||
state_id = fields.Many2one(store=True) |
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.
Why are these model changes necessary? Aren't these values stored on the related partner_id?
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.
I think the same as @amh-mw, is there any reason to add this @HeliconiaSolutions?
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.
@Christian-RB , @amh-mw , Thank you for suggestions! It's fixed Please review.
3eb25bd
to
925ef50
Compare
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.
Code review only. LGTM.
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.
Almost there just one last thing
from odoo.tests.common import TransactionCase | ||
|
||
|
||
class TestResCompany(TransactionCase): |
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.
Sorry just saw this on https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-18.0
Use BaseCommon as base test class to reduce overhead from tracking and boost the test suite.
from odoo.tests.common import TransactionCase | |
class TestResCompany(TransactionCase): | |
from odoo.addons.base.tests.common import BaseCommon | |
class TestResCompany(BaseCommon): |
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.
@Christian-RB yes! it's Fixed.please review.
925ef50
to
d465766
Compare
This PR has the |
No description provided.