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

[IMP] Migration of base_custom_attributes #59

Closed
wants to merge 12 commits into from
Closed

[IMP] Migration of base_custom_attributes #59

wants to merge 12 commits into from

Conversation

fevxie
Copy link

@fevxie fevxie commented Mar 25, 2015

Initial migration base_custom_attribute, Still work in progress for fully test

@oca-clabot
Copy link

Hey @fevxie, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

  • Qing Wang (no github login found)

Appreciation of efforts,
OCA CLAbot

@gurneyalex
Copy link
Member

Hi @fevxie

  1. Can you (or @elicoidal) confirm that you work for Elico Corp which has an Enterprise CLA signed?

  2. can you also modify the file .travis.yml in your PR to install unidecode. This is done by adding the following line in the install section:

    - sudo pip install unidecode

this should make the build green.

@fevxie
Copy link
Author

fevxie commented Mar 31, 2015

Hi, @gurneyalex, I'm working for Elico Corp currently who signed the Enterprise CLA and I also will signed my personal CLA and send email to community. Thanks for your work.

@oca-clabot
Copy link

Hey @fevxie, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

  • @fevxie (login unknown in OCA database)
  • Qing Wang (no github login found)

Appreciation of efforts,
OCA CLAbot

@coveralls
Copy link

Coverage Status

Coverage decreased (-4.87%) to 40.46% when pulling 6a7e238 on fevxie:8.0-base_custom_attributes-migr into 082aac9 on OCA:8.0.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-4.87%) to 40.46% when pulling 6a7e238 on fevxie:8.0-base_custom_attributes-migr into 082aac9 on OCA:8.0.

@gurneyalex
Copy link
Member

@fevxie I updated your information in the OCA database, and you should no longer get flagged by the CLA bot.

Thanks for your contributions.

@oca-clabot
Copy link

Hey @fevxie,
We acknowledge that the following users have signed our Contributor License Agreement:

Appreciation of efforts,
OCA CLAbot

1 similar comment
@oca-clabot
Copy link

Hey @fevxie,
We acknowledge that the following users have signed our Contributor License Agreement:

Appreciation of efforts,
OCA CLAbot

@fevxie
Copy link
Author

fevxie commented May 28, 2015

what should I do for this PR?

A module add custom attribute for models
===========================================


Copy link
Member

Choose a reason for hiding this comment

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

A small description would be great

@yvaucher
Copy link
Member

@fevxie Your 3 first commits need fixing with author. You know what to do 😉

return [(model.model, model.name) for model in models]

name = fields.Char(
size=128,
Copy link
Member

Choose a reason for hiding this comment

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

Is this size limit necessary?

@api.model
def _get_default_model(self):
context = self._context
if context and context.get('force_model'):
Copy link
Member

Choose a reason for hiding this comment

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

It is enough to write

if context.get('force_model'):

as context is always a frozen dict even if empty

@yvaucher
Copy link
Member

@fevxie See my few remarks

About char size limit, this has no meaning for database but is a constraint when filling the field

@fevxie
Copy link
Author

fevxie commented May 31, 2015

@yvaucher Thanks for you patient review. I will fix it ASAP.

@yvaucher
Copy link
Member

yvaucher commented Jun 1, 2015

About travis, we only have a travis file for the whole repo. Don't create one in the module

Ok I see that you fixed that. Maybe you want to squash those 3 last commits in one.

Otherwise 👍

@@ -0,0 +1,28 @@
Base Custom Attributes
Copy link
Member

Choose a reason for hiding this comment

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

@diggy128
Copy link

Any update on this?
This module is truly different from the standard Odoo attributes.
I've been using it in v7 for food product specifications and now migrating to v8.
The standard odoo attributes can't fit the use even with odooMRP modules.
I am willing to test and review.

@pedrobaeza
Copy link
Member

No, this module is not going to be finally migrated. Check base_custom_info and product_custom_info instead.

@pedrobaeza pedrobaeza closed this Apr 17, 2017
@diggy128
Copy link

I've already checked these modules and they don't provide different field types for attribute values as base_custom_attributes did, only char.
I'll have to take a closer look and maybe create a new module to extend it then.
Thanks for the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants