-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
[10.0]Add hs_code_link #20
Conversation
0944d2a
to
3e3f4e4
Compare
@alexis-via @luc-demeyer @gurneyalex Can you review please? |
3e3f4e4
to
24998ff
Compare
|
||
hs_code = fields.Char( | ||
related='hs_code_id.hs_code', | ||
readonly=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.
I think we want store=True too in case this is used in some reports.
hs_code_link/views/product_views.xml
Outdated
<odoo> | ||
|
||
<record id="view_template_hide_hs" model="ir.ui.view"> | ||
<field name="name">product.template.hs.hiden</field> |
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.
nitpicking: "hidden"
24998ff
to
0e7ade0
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.
Thanks!
0e7ade0
to
ea27474
Compare
Odoo added a field char field
hs_code
in the delivery module.It results in a duplicate field from
product_harmonized_system
and it can beseen twice in the
product.template
form view.The goal of this module is to hide Odoo's field in the form and make it related
to the OCA's one if it is used elsewhere.
This module is set as auto_install if the following modules are installed: