forked from Yaltik/golem
[IMP]GOLEM Resource : add more direct filters based on states
This commit is contained in:
parent
abcdcb1748
commit
b08d7eb09e
@ -20,7 +20,7 @@
|
||||
'name': 'GOLEM non-profit resources',
|
||||
'summary': 'GOLEM resources management',
|
||||
'description': ''' GOLEM resources management ''',
|
||||
'version': '10.0.1.10.1',
|
||||
'version': '10.0.1.11.0',
|
||||
'category': 'GOLEM',
|
||||
'author': 'Youssef El Ouahby, Fabien Bourgeois',
|
||||
'license': 'AGPL-3',
|
||||
|
@ -113,8 +113,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<field name="user_id" />
|
||||
<field name="partner_id" />
|
||||
<field name="state" />
|
||||
<filter name="to_validate" string="Reservation to Validate"
|
||||
<filter name="state_draft" string="Draft"
|
||||
domain="[('state', '=', 'draft')]" />
|
||||
<filter name="state_confirmed" string="Confirmed, to Validate"
|
||||
domain="[('state', '=', 'confirmed')]" />
|
||||
<filter name="state_validated" string="Validated"
|
||||
domain="[('state', '=', 'validated')]" />
|
||||
<filter name="state_rejected" string="Rejected"
|
||||
domain="[('state', '=', 'rejected')]" />
|
||||
<filter name="group_state" string="State"
|
||||
context="{'group_by': 'state'}" />
|
||||
<filter name="group_resource" string="Resource"
|
||||
|
Loading…
x
Reference in New Issue
Block a user