Skip to content

Commit

Permalink
[IMP] base: Allow js-class attribute for graph/pivot/calendar views
Browse files Browse the repository at this point in the history
Add in the RNG file the attribute "js-class" for the calendar, graph and pivot view.

closes #29609
  • Loading branch information
jbm-odoo authored and tivisse committed Dec 18, 2018
1 parent 4682c8a commit 496920a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions odoo/addons/base/rng/calendar_view.rng
Expand Up @@ -19,6 +19,7 @@
<rng:optional><rng:attribute name="quick_add" /></rng:optional>
<rng:optional><rng:attribute name="color" /></rng:optional>
<rng:optional><rng:attribute name="event_open_popup" /></rng:optional>
<rng:optional><rng:attribute name="js_class"/></rng:optional>
<rng:optional>
<rng:attribute name="mode">
<rng:choice>
Expand Down
1 change: 1 addition & 0 deletions odoo/addons/base/rng/graph_view.rng
Expand Up @@ -19,6 +19,7 @@
</rng:choice>
</rng:attribute>
</rng:optional>
<rng:optional><rng:attribute name="js_class"/></rng:optional>
<rng:optional><rng:attribute name="stacked"/></rng:optional>
<rng:optional><rng:attribute name="orientation"/></rng:optional>
<rng:optional><rng:attribute name="interval"/></rng:optional>
Expand Down
1 change: 1 addition & 0 deletions odoo/addons/base/rng/pivot_view.rng
Expand Up @@ -12,6 +12,7 @@
<rng:optional><rng:attribute name="stacked"/></rng:optional>
<rng:optional><rng:attribute name="display_quantity"/></rng:optional>
<rng:optional><rng:attribute name="disable_linking"/></rng:optional>
<rng:optional><rng:attribute name="js_class"/></rng:optional>
<rng:zeroOrMore>
<rng:ref name="field"/>
</rng:zeroOrMore>
Expand Down

0 comments on commit 496920a

Please sign in to comment.