-
-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIG] account_invoice_base_invoicing_mode: Migration to 15.0
- Loading branch information
1 parent
13992e9
commit 528b90f
Showing
3 changed files
with
16 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 15 additions & 17 deletions
32
account_invoice_base_invoicing_mode/data/queue_job_data.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<data> | ||
<!-- Queue Job Channel --> | ||
<record id="invoice_validation" model="queue.job.channel"> | ||
<field name="name">invoice_validation</field> | ||
<field name="parent_id" ref="queue_job.channel_root" /> | ||
</record> | ||
<!-- Queue Job Channel --> | ||
<record id="invoice_validation" model="queue.job.channel"> | ||
<field name="name">invoice_validation</field> | ||
<field name="parent_id" ref="queue_job.channel_root" /> | ||
</record> | ||
|
||
<!-- Queue Job Function --> | ||
<record id="job_function_validate_invoice" model="queue.job.function"> | ||
<field name="model_id" ref="account.model_account_move" /> | ||
<field name="method">_validate_invoice</field> | ||
<field name="channel_id" ref="invoice_validation" /> | ||
<field | ||
name="related_action" | ||
eval='{"func_name": "related_action_open_invoice"}' | ||
/> | ||
</record> | ||
</data> | ||
<!-- Queue Job Function --> | ||
<record id="job_function_validate_invoice" model="queue.job.function"> | ||
<field name="model_id" ref="account.model_account_move" /> | ||
<field name="method">_validate_invoice</field> | ||
<field name="channel_id" ref="invoice_validation" /> | ||
<field | ||
name="related_action" | ||
eval='{"func_name": "related_action_open_invoice"}' | ||
/> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters