Add field and filter to activity views

This commit is contained in:
Youssef Elouahby 2018-09-20 13:48:26 +01:00
parent 20919252d1
commit 425ddd4f02

View File

@ -38,6 +38,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</group> </group>
</page> </page>
</page> </page>
<field name="list_price" position="after">
<field name="only_for_subscriber"/>
</field>
</field> </field>
</record> </record>
@ -66,6 +69,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<filter name="season_default" position="after"> <filter name="season_default" position="after">
<filter name="full_activity" string="Full" <filter name="full_activity" string="Full"
domain="[('places_remain', '=', 0)]" /> domain="[('places_remain', '=', 0)]" />
<filter name="only_for_subscriber" string="Only for subscriber"
domain="[('only_for_subscriber', '=', True)]"/>
</filter> </filter>
</field> </field>
</record> </record>