[FIX]GOLEM Activity Registration State tree view fix

This commit is contained in:
Fabien Bourgeois 2016-10-16 11:45:56 +02:00
parent c98e9331db
commit 1328a5b303

View File

@ -25,15 +25,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<field name="inherit_id"
ref="golem_activity_registration.activity_form" />
<field name="arch" type="xml">
<tree position="attributes">
<attribute name="colors">red: state == 'canceled';darkgrey: state == 'draft';</attribute>
</tree>
<tree position="inside">
<tree position="replace">
<tree editable="top"
colors="red: state == 'canceled';darkgrey: state == 'draft';">
<field name="state" invisible="1" />
</tree>
<field name="season_id" position="after">
<field name="member_id"
domain="[('season_ids', '=', season_id)]" />
<field name="activity_id" readonly="1" />
<field name="season_id" readonly="1" />
<field name="invoice_id" readonly="1" />
</field>
</tree>
</tree>
</field>
</record>