Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exclude: |
(LICENSE.*|COPYING.*)
default_language_version:
python: python3
node: "16.17.0"
node: system
repos:
- repo: local
hooks:
Expand Down
7 changes: 2 additions & 5 deletions agreement_legal/README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

================
Agreements Legal
================
Expand All @@ -17,7 +13,7 @@ Agreements Legal
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fagreement-lightgray.png?logo=github
Expand Down Expand Up @@ -111,6 +107,7 @@ Contributors
- `APSL-Nagarro <https://www.apsl.tech>`__:

- Antoni Marroig <[email protected]>
- Miquel Alzanillas <[email protected]>

Other credits
-------------
Expand Down
1 change: 1 addition & 0 deletions agreement_legal/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"data": [
"data/cron.xml",
"data/ir_sequence.xml",
"data/ir_actions.xml",
"data/agreement_stage.xml",
"data/agreement_type.xml",
"security/res_groups.xml",
Expand Down
18 changes: 18 additions & 0 deletions agreement_legal/data/ir_actions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<!-- Copyright 2026 Antoni Marroig (APSL-Nagarro)
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<record
id="action_agreement_legal_recompute_from_template"
model="ir.actions.server"
>
<field name="name">Recompute From Template</field>
<field name="model_id" ref="agreement.model_agreement" />
<field name="state">code</field>
<field name="code">
model.recompute_from_template()
</field>
<field name="binding_model_id" ref="agreement.model_agreement" />
<field name="binding_view_types">list,form</field>
</record>
</odoo>
Loading