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

[16.0][IMP] web_timeline - add attribute color_field to be able to specify the bar color in data through a field value #2887

Open
wants to merge 1 commit into
base: 16.0
Choose a base branch
from

Conversation

IJOL
Copy link

@IJOL IJOL commented Jul 19, 2024

Added a new attribute to the view element, to be able to directly specify the color of the bar by reading a char field compatible with widget="color" from view's model, the "colors" attribute take precedence over the new "color_field" attribute

@OCA-git-bot
Copy link
Contributor

Hi @tarteo,
some modules you are maintaining are being modified, check this out!

@IJOL IJOL force-pushed the 16.0-web_timeline-color_field branch from 477ee27 to 8e76c77 Compare July 22, 2024 08:15
@IJOL IJOL force-pushed the 16.0-web_timeline-color_field branch from 8e76c77 to c7bb043 Compare September 5, 2024 11:19
@IJOL IJOL changed the title 16.0 - web_timeline - add attribute color_field to be able to specify the bar color in data through a field value [16.0][IMP] web_timeline - add attribute color_field to be able to specify the bar color in data through a field value Sep 5, 2024
@IJOL
Copy link
Author

IJOL commented Sep 5, 2024

hi @pedrobaeza can you take a look at this one too?

Thanks in advance

@pedrobaeza pedrobaeza added this to the 16.0 milestone Sep 5, 2024
@pedrobaeza
Copy link
Member

Please follow commit message guidelines:

https://github.com/OCA/odoo-community.org/blob/master/website/Contribution/CONTRIBUTING.rst#commit-message

and put the purpose of the changes in a explained way.

@IJOL IJOL force-pushed the 16.0-web_timeline-color_field branch 2 times, most recently from c5ce1aa to 4f62ab5 Compare September 6, 2024 07:25
Copy link
Contributor

@carlos-lopez-tecnativa carlos-lopez-tecnativa left a comment

Choose a reason for hiding this comment

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

Tested code and functionality; everything works as expected. Just two remaining points from my side:

  1. I noticed a difference between README and CONFIGURE. Please run pre-commit to generate the README from fragments instead of editing it manually.
  2. Please update the commit message according to the guidelines provided by Pedro.

Copy link
Member

@tarteo tarteo left a comment

Choose a reason for hiding this comment

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

Looks good

@IJOL IJOL force-pushed the 16.0-web_timeline-color_field branch from 4f62ab5 to 04df48b Compare October 15, 2024 09:46
@IJOL IJOL force-pushed the 16.0-web_timeline-color_field branch 2 times, most recently from 427d810 to 4805627 Compare November 7, 2024 10:49
…_field", to be able to directly specify the color of the bar by reading a char field compatible with widget="color" from view's model, the "colors" attribute take precedence over the new "color_field" attribute
@IJOL IJOL force-pushed the 16.0-web_timeline-color_field branch from 4805627 to 61852cb Compare November 11, 2024 09:22
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.

5 participants