Merge pull request #4790 from expsa/samir-aladawi-service-requests-updates
[FIX] odex_benefit
This commit is contained in:
commit
789081bbe8
|
|
@ -22,11 +22,11 @@
|
||||||
<button name="action_accounting_approve" type="object"
|
<button name="action_accounting_approve" type="object"
|
||||||
string="Accounting Approve" class="oe_highlight"
|
string="Accounting Approve" class="oe_highlight"
|
||||||
confirm="Are you sure you want to approve ?"
|
confirm="Are you sure you want to approve ?"
|
||||||
states="approval_of_beneficiary_services" groups="odex_benefit.group_benefit_accounting_accept"/>
|
states="accounting_approve" groups="odex_benefit.group_benefit_accounting_accept"/>
|
||||||
<button name="action_accounting_first_refuse" type="object"
|
<button name="action_accounting_first_refuse" type="object"
|
||||||
string="Return the request to the specialist" class="oe_highlight"
|
string="Return the request to the specialist" class="oe_highlight"
|
||||||
attrs="{'invisible': ['|',('return_reason','!=', False), ('state', 'not in', ['second_approve' ,'send_request' ,'first_approve'])]}"
|
attrs="{'invisible': ['|',('return_reason','!=', False), ('state', 'not in', ['accounting_approve', 'second_approve' ,'send_request' ,'first_approve'])]}"
|
||||||
states="second_approve,send_request,first_approve" groups="odex_benefit.group_benefit_accounting_accept,odex_benefit.group_benefit_woman_commitee,odex_benefit.group_benefit_branch_manager,odex_benefit.group_benefit_manager"/>
|
groups="odex_benefit.group_benefit_accounting_accept,odex_benefit.group_benefit_woman_commitee,odex_benefit.group_benefit_branch_manager,odex_benefit.group_benefit_manager"/>
|
||||||
<button name="action_send_request_to_supplier" type="object"
|
<button name="action_send_request_to_supplier" type="object"
|
||||||
string="Send Request To Supplier" class="oe_highlight"
|
string="Send Request To Supplier" class="oe_highlight"
|
||||||
confirm="Are you sure you want to send request to supplier ?"
|
confirm="Are you sure you want to send request to supplier ?"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue