mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] Show stat even if 0. Filter agreement with partner
This commit is contained in:
committed by
hkapatel
parent
9ec3533a18
commit
004b392c49
@@ -24,7 +24,6 @@
|
||||
<xpath expr="//div[@name='button_box']" position="inside">
|
||||
<button name="%(action_project_task_agreement_specific)d"
|
||||
type="action"
|
||||
attrs="{'invisible': [('task_count', '=', 0)]}"
|
||||
class="oe_stat_button" icon="fa-tasks">
|
||||
<div class="o_field_widget o_stat_info">
|
||||
<span class="o_stat_value">
|
||||
|
||||
@@ -7,7 +7,8 @@
|
||||
<field name="inherit_id" ref="project.edit_project"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="sequence" position="after">
|
||||
<field name="agreement_id"/>
|
||||
<field name="agreement_id"
|
||||
domain="[('partner_id', '=', partner_id)]"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
Reference in New Issue
Block a user