Update ir_sequence_data.xml

This commit is contained in:
zainab2097 2024-09-02 12:28:12 +03:00 committed by GitHub
parent a52c803e9b
commit 067a21ecb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 0 deletions

View File

@ -94,6 +94,17 @@
record.action_validate2()
</field>
</record>
<record id="custom_invoice_action_server" model="ir.actions.server">
<field name="name">Create Commission Vendor Invoice</field>
<field name="model_id" ref="property_management.model_rent_payment"/>
<field name="binding_model_id" ref="property_management.model_rent_payment"/>
<field name="binding_view_types">list</field>
<field name="state">code</field>
<field name="code">
for record in records:
record.create_vendor_bill_for_payments()
</field>
</record>
<!-- End -->
</data>
</odoo>