Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

hide create button on step 1 of program creation #122

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions spp_programs/wizard/create_program_wizard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ Part of OpenSPP. See LICENSE file for full copyright and licensing details.
options="{'no_open':true,'no_create':true,'no_create_edit':true}"
/>
</xpath>
<xpath expr="//button[@name='create_program']" position="attributes">
<attribute name="attrs">
{'invisible': [('state', '=', 'step1')]}
</attribute>
</xpath>
</field>
</record>
</odoo>
Loading