~unifield-team/unifield-wm/us-826

« back to all changes in this revision

Viewing changes to stock_schedule/scheduler_view.xml

  • Committer: qt-tempo-consulting
  • Date: 2012-02-17 07:37:08 UTC
  • mto: This revision was merged to the branch mainline in revision 628.
  • Revision ID: qt-tempo-consulting-20120217073708-0ctns9cfnl1v6isg
UF-864 [FIX] Fix error on automatic supply rule definition with no choosen frequence. To fix this issue, a default frequence is set.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
                    <group colspan="4" col="16" attrs="{'invisible': [('name', '!=', 'daily')]}">
14
14
                        <separator colspan="16" string="Daily configuration" />
15
15
                        <label />
16
 
                        <field name="daily_frequency_ok" nolabel="1" on_change="choose_daily_frequency(daily_frequency_ok, False)" />
 
16
                        <field name="daily_frequency_ok" nolabel="1" readonly="1" />
17
17
                        <field name="daily_frequency" attrs="{'readonly': [('daily_frequency_ok', '=', 0)], 'required': [('daily_frequency_ok', '=', True)]}" />
18
18
                        <label string="day(s)" />
19
19
                        <newline />