[IMP] convert button into stat button for project
bzr revid: rajmyt@gmail.com-20140320094614-53ix0c0fdgrzbmsc
This commit is contained in:
@@ -102,9 +102,10 @@
|
||||
<label for="use_phases"/>
|
||||
</xpath>
|
||||
<xpath expr="//div[@name='buttons']" position='inside'>
|
||||
<button name="%(act_project_phases)d"
|
||||
string="Phases" type="action"
|
||||
attrs="{'invisible':[('use_phases','=', 0)]}"/>
|
||||
<button class="oe_inline oe_stat_button" type="action"
|
||||
attrs="{'invisible':[('use_phases','=', 0)]}" name="%(act_project_phases)d" icon="fa-qrcode">
|
||||
<field string="Phases" name="phase_count" widget="statinfo"/>
|
||||
</button>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user