Skip to content

Commit

Permalink
IMP acc_facto: add server action to display domain
Browse files Browse the repository at this point in the history
  • Loading branch information
bealdav committed Oct 8, 2024
1 parent b3da5dd commit 204f934
Show file tree
Hide file tree
Showing 5 changed files with 389 additions and 64 deletions.
1 change: 1 addition & 0 deletions account_factoring_receivable_balance/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"views/subrogation_receipt.xml",
"views/partner.xml",
"views/account_move.xml",
"data/action.xml",
],
"demo": [],
}
11 changes: 11 additions & 0 deletions account_factoring_receivable_balance/data/action.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<odoo>

<record id="update_expected_cost" model="ir.actions.server">
<field name="name">Display domain</field>
<field name="model_id" ref="model_subrogation_receipt" />
<field name="binding_model_id" ref="model_subrogation_receipt" />
<field name="state">code</field>
<field name="code">record._raise_factor_domain()</field>
</record>

</odoo>
Loading

0 comments on commit 204f934

Please sign in to comment.