# Contract layout category hide detail

This module allows you to check/uncheck ‘Show details’ and ‘Show subtotal’ flags for Recurring invoices section lines in Customer Contracts and Supplier Contracts so that Invoices are generated with this information.

Table of contents

- Usage
- Known issues / Roadmap
- Bug Tracker
- Credits
  - Authors
  - Contributors
  - Maintainers

# Usage

To use this module, you need to:

1. Go to Invoicing -> Customers -> Customer Contracts and create a new Contract.
2. In Recurring Invoices tab add a section line.
3. Add some product lines.
4. Add a section line, but this time, click on the plus-circle icon on your right. That icon will be replaced by minus-circle icon . That means Show subtotal field is set to False. (You can also set Show subtotal field to False/True in the pop-up form when you click on the section line)
5. Add some product lines.
6. Add another section line and click on the eye icon on your right. That icon will be replaced by eye-slash icon . That means Show details field is set to False. (You can also set Show details field to False/True in the pop-up form when you click on the section line)
7. Add some product lines.
8. Then, when the Invoice is generated, you will see that it will have the information regarding “Show details” and “Show subtotal” specified in the previous steps.

For more information about Show details and Show subtotal flags in Invoices: see ‘Usage’ section of the ‘Sale layout category hide detail’ module

# Known issues / Roadmap

- Unit tests are needed

# Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

# Credits

## Authors

- Tecnativa

## Contributors

- Tecnativa:
  - Ernesto Tejeda
  - Pedro M. Baeza

## Maintainers

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/contract project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.