Merge pull request #2457 from expsa/Esraa-odex25-ensan-tasks

service request notes
This commit is contained in:
Esraa-Exp 2025-02-18 16:20:21 +02:00 committed by GitHub
commit faf08347e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 2 deletions

View File

@ -7,7 +7,9 @@
<field name="model_id" ref="odex_benefit.model_service_request"/>
<field name="binding_model_id" ref="odex_benefit.model_service_request"/>
<field name="state">code</field>
<field name="code">action = records.action_open_exchange_order_wizard()</field>
<field name="code">
if record.project_create == False:
action = records.action_open_exchange_order_wizard()</field>
</record>
<record id="server_action_vendor_bill" model="ir.actions.server">
<field name="name">Create Vendor Bill</field>

View File

@ -22,7 +22,7 @@
<button name="action_accounting_approve" type="object"
string="Accounting Approve" class="oe_highlight"
confirm="Are you sure you want to approve ?"
states="second_approve" groups="odex_benefit.group_benefit_accounting_accept"/>
states="approval_of_beneficiary_services" groups="odex_benefit.group_benefit_accounting_accept"/>
<button name="action_accounting_first_refuse" type="object"
string="Return the request to the specialist" class="oe_highlight"
attrs="{'invisible': ['|',('return_reason','!=', False), ('state', 'not in', ['second_approve' ,'send_request' ,'first_approve'])]}"

View File

@ -85,3 +85,8 @@ msgstr ""
#: model:ir.model,name:odex_benefit_project.model_services_settings
msgid "services.settings"
msgstr ""
#. module: odex_benefit_project
#: model_terms:ir.ui.view,arch_db:odex_benefit_project.service_request_inherit_view_form
msgid "Approval of beneficiary services"
msgstr "اعتماد خدمات المستفيدين"