Skip to content
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

[FIX] Update hs_code to hs_code_id #15

Closed
wants to merge 1 commit into from

Conversation

leemannd
Copy link

Hello,
In odoo/delivery you can find the hs_code field. It is also introduced by https://github.com/OCA/intrastat/blame/10.0/product_harmonized_system/views/product_template.xml#L17 in the product.template view.

The goal of this PR is to use the same name for this field in OCA and Odoo's base code source.

@leemannd
Copy link
Author

@alexis-via @luc-demeyer If I can have your review?

@coveralls
Copy link

Coverage Status

Coverage remained the same at 47.832% when pulling b438c35 on leemannd:fix_hs_code_duplicate into 357790f on OCA:10.0.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 47.832% when pulling b438c35 on leemannd:fix_hs_code_duplicate into 357790f on OCA:10.0.

Copy link
Member

@gurneyalex gurneyalex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cannot work : in delivery the field hs_code = fields.Char

You cannot change the field type like you do. IMO, you should

  • change the field hs_code to be a related field (readonly) to use the hs code name from this module
  • change the form to hide the hs_code field

@leemannd leemannd closed this Jul 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants