Skip to content
Merged
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[contract](contract/) | 19.0.1.0.2 | | Recurring - Contracts Management
[contract](contract/) | 19.0.1.0.3 | | Recurring - Contracts Management
[contract_analytic_tag](contract_analytic_tag/) | 19.0.1.0.0 | <a href='https://github.com/victoralmau'><img src='https://github.com/victoralmau.png' width='32' height='32' style='border-radius:50%;' alt='victoralmau'/></a> | Contract Analytic Tag
[contract_payment_mode](contract_payment_mode/) | 19.0.1.0.0 | | Payment mode in contracts and their invoices
[contract_sale](contract_sale/) | 19.0.1.0.0 | | Contract from Sale
Expand Down
2 changes: 1 addition & 1 deletion contract/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Recurring - Contracts Management
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a01f9e3400609347bf96939d0cf01af513faa51c2785c95017c2648a5db4293c
!! source digest: sha256:61eced46371546575f29bfdb4fc820cbb20fe98ce8db9311ef80f138c979ae30
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
Expand Down
2 changes: 1 addition & 1 deletion contract/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

{
"name": "Recurring - Contracts Management",
"version": "19.0.1.0.2",
"version": "19.0.1.0.3",
"category": "Contract Management",
"license": "AGPL-3",
"author": "Tecnativa, ACSONE SA/NV, Odoo Community Association (OCA)",
Expand Down
2 changes: 1 addition & 1 deletion contract/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>Recurring - Contracts Management</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a01f9e3400609347bf96939d0cf01af513faa51c2785c95017c2648a5db4293c
!! source digest: sha256:61eced46371546575f29bfdb4fc820cbb20fe98ce8db9311ef80f138c979ae30
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Production/Stable" src="https://img.shields.io/badge/maturity-Production%2FStable-green.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/contract/tree/19.0/contract"><img alt="OCA/contract" src="https://img.shields.io/badge/github-OCA%2Fcontract-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/contract-19-0/contract-19-0-contract"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/contract&amp;target_branch=19.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module enables contracts management with recurring invoicing
Expand Down
12 changes: 10 additions & 2 deletions contract/views/contract.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
<field
name="product_id"
widget="product_label_section_and_note_field"
context="{'active_test': True}"
/>
<field
name="name"
Expand All @@ -145,7 +146,10 @@
groups="analytic.group_analytic_accounting"
/>
<field name="quantity" />
<field name="uom_id" />
<field
name="uom_id"
context="{'active_test': True}"
/>
<field
name="automatic_price"
column_invisible="parent.contract_type == 'purchase'"
Expand Down Expand Up @@ -215,6 +219,7 @@
<field
name="product_id"
widget="product_label_section_and_note_field"
context="{'active_test': True}"
/>
<field
name="name"
Expand All @@ -228,7 +233,10 @@
groups="analytic.group_analytic_accounting"
/>
<field name="quantity" />
<field name="uom_id" />
<field
name="uom_id"
context="{'active_test': True}"
/>
<field
name="automatic_price"
column_invisible="parent.contract_type == 'purchase'"
Expand Down
2 changes: 2 additions & 0 deletions contract/views/contract_template_line.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
name="product_id"
required="display_type == 'product'"
invisible="display_type"
context="{'active_test': True}"
/>
</group>
<group invisible="display_type">
Expand All @@ -36,6 +37,7 @@
groups="uom.group_uom"
class="oe_no_button"
required="not display_type"
context="{'active_test': True}"
/>
</div>
<field name="discount" />
Expand Down