-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] agreement: pre-commit execution
- Loading branch information
Lukas Tran
committed
Nov 28, 2024
1 parent
bcb4697
commit a81443c
Showing
7 changed files
with
170 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,25 +17,25 @@ Agreement | |
: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 | ||
:target: https://github.com/OCA/agreement/tree/17.0/agreement | ||
:target: https://github.com/OCA/agreement/tree/18.0/agreement | ||
:alt: OCA/agreement | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/agreement-17-0/agreement-17-0-agreement | ||
:target: https://translation.odoo-community.org/projects/agreement-18-0/agreement-18-0-agreement | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/agreement&target_branch=17.0 | ||
:target: https://runboat.odoo-community.org/builds?repo=OCA/agreement&target_branch=18.0 | ||
:alt: Try me on Runboat | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module adds an *Agreement* object with the following properties: | ||
|
||
- code, | ||
- name, | ||
- link to a partner, | ||
- signature date. | ||
- start date. | ||
- end date. | ||
- code, | ||
- name, | ||
- link to a partner, | ||
- signature date. | ||
- start date. | ||
- end date. | ||
|
||
Optionally, you can also enable using: \* agreement types \* a flag to | ||
set an agreement as a template agreement | ||
|
@@ -53,7 +53,7 @@ Bug Tracker | |
Bugs are tracked on `GitHub Issues <https://github.com/OCA/agreement/issues>`_. | ||
In case of trouble, please check there if your issue has already been reported. | ||
If you spotted it first, help us to smash it by providing a detailed and welcomed | ||
`feedback <https://github.com/OCA/agreement/issues/new?body=module:%20agreement%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
`feedback <https://github.com/OCA/agreement/issues/new?body=module:%20agreement%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. | ||
|
||
Do not contact contributors directly about support or help with technical issues. | ||
|
||
|
@@ -69,21 +69,21 @@ Authors | |
Contributors | ||
------------ | ||
|
||
- Alexis de Lattre <[email protected]> | ||
- Alexis de Lattre <[email protected]> | ||
|
||
- Yves Goldberg <[email protected]> | ||
- Yves Goldberg <[email protected]> | ||
|
||
- Alexandre Fayolle <[email protected]> | ||
- Alexandre Fayolle <[email protected]> | ||
|
||
- `Tecnativa <https://www.tecnativa.com>`__: | ||
- `Tecnativa <https://www.tecnativa.com>`__: | ||
|
||
- Sergio Teruel | ||
- Sergio Teruel | ||
|
||
- Tharathip Chaweewongphan <[email protected]> | ||
- Tharathip Chaweewongphan <[email protected]> | ||
|
||
- `Acsone <https://www.acsone.eu/>`__: | ||
- `Acsone <https://www.acsone.eu/>`__: | ||
|
||
- Maxime Franco | ||
- Maxime Franco | ||
|
||
Maintainers | ||
----------- | ||
|
@@ -109,6 +109,6 @@ Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | |
|
||
|maintainer-ygol| |maintainer-alexis-via| | ||
|
||
This module is part of the `OCA/agreement <https://github.com/OCA/agreement/tree/17.0/agreement>`_ project on GitHub. | ||
This module is part of the `OCA/agreement <https://github.com/OCA/agreement/tree/18.0/agreement>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,135 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
© 2017 Akretion (Alexis de Lattre <[email protected]>) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
--> | ||
<odoo> | ||
<record id="agreement_form" model="ir.ui.view"> | ||
<field name="name">agreement.form</field> | ||
<field name="model">agreement</field> | ||
<field name="arch" type="xml"> | ||
<form string="Agreement"> | ||
<sheet> | ||
<div class="oe_button_box" name="button_box" /> | ||
<widget | ||
name="web_ribbon" | ||
title="Archived" | ||
bg_color="bg-danger" | ||
invisible="active" | ||
/> | ||
<div class="oe_title"> | ||
<label | ||
for="name" | ||
class="oe_edit_only" | ||
string="Agreement Name" | ||
/> | ||
<h1> | ||
<field name="name" /> | ||
</h1> | ||
</div> | ||
<group name="main"> | ||
<group name="left"> | ||
<field name="code" /> | ||
<field name="partner_id" required="not is_template" /> | ||
<field | ||
name="agreement_type_id" | ||
groups="agreement.group_use_agreement_type" | ||
/> | ||
<field name="domain" widget="radio" /> | ||
<field | ||
name="is_template" | ||
groups="agreement.group_use_agreement_template" | ||
/> | ||
</group> | ||
<group name="right"> | ||
<field name="signature_date" /> | ||
<field name="start_date" /> | ||
<field name="end_date" /> | ||
<field | ||
name="company_id" | ||
groups="base.group_multi_company" | ||
/> | ||
</group> | ||
</group> | ||
<notebook> | ||
<page name="config" string="Configuration" invisible="True" /> | ||
</notebook> | ||
</sheet> | ||
<<<<<<< HEAD | ||
<div class="oe_chatter"> | ||
<field name="message_follower_ids" widget="mail_followers" /> | ||
<field name="activity_ids" widget="mail_activity" /> | ||
<field name="message_ids" widget="mail_thread" /> | ||
</div> | ||
======= | ||
<chatter /> | ||
>>>>>>> 00d357b ([IMP] agreement: pre-commit execution) | ||
</form> | ||
</field> | ||
</record> | ||
<record id="agreement_tree" model="ir.ui.view"> | ||
<field name="name">agreement.tree</field> | ||
<field name="model">agreement</field> | ||
<field name="arch" type="xml"> | ||
<tree> | ||
<field name="partner_id" /> | ||
<field name="code" /> | ||
<field name="name" /> | ||
<field name="signature_date" /> | ||
<field name="start_date" /> | ||
<field name="end_date" /> | ||
<field name="domain" /> | ||
<field name="company_id" groups="base.group_multi_company" /> | ||
</tree> | ||
</field> | ||
</record> | ||
<record id="agreement_search" model="ir.ui.view"> | ||
<field name="name">agreement.search</field> | ||
<field name="model">agreement</field> | ||
<field name="arch" type="xml"> | ||
<search string="Search Agreements"> | ||
<field | ||
name="name" | ||
filter_domain="['|', ('name', 'ilike', self), ('code', 'ilike', self)]" | ||
string="Name or Number" | ||
/> | ||
<field name="partner_id" /> | ||
<separator /> | ||
<filter name="sale" string="Sale" domain="[('domain', '=', 'sale')]" /> | ||
<filter | ||
name="purchase" | ||
string="Purchase" | ||
domain="[('domain', '=', 'purchase')]" | ||
/> | ||
<separator /> | ||
<filter | ||
name="inactive" | ||
string="Archived" | ||
domain="[('active', '=', False)]" | ||
/> | ||
<group name="groupby"> | ||
<filter | ||
name="partner_groupby" | ||
string="Partner" | ||
context="{'group_by': 'partner_id'}" | ||
/> | ||
<filter | ||
name="signature_date_groupby" | ||
string="Signature Date" | ||
context="{'group_by': 'signature_date'}" | ||
/> | ||
<filter | ||
name="domain_groupby" | ||
string="Domain" | ||
context="{'group_by': 'domain'}" | ||
/> | ||
</group> | ||
</search> | ||
</field> | ||
</record> | ||
<record id="agreement_action" model="ir.actions.act_window"> | ||
<field name="name">Agreements</field> | ||
<field name="res_model">agreement</field> | ||
<field name="view_mode">tree,form</field> | ||
</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