Stéphane Bidoul (ACSONE) a0b85a2b0e [REF] contract: Several refactorings
- rename misnamed methods
- clarify _get_recurring_next_date
  First compute the next period end date,
  then derive the next invoice date from the next
  period stard and end date.
- handle max_date_end in _get_recurring_next_date
  This concentrates all next date calculation
  logic in one place, and will allow further simplifications.
- add next period start/end fields
  Add two computed field showing the next period
  start and end date. This improve the UX and will
  enable further simplifications in the code.
- refactor _get_period_to_invoice
  Move the part of the logic that compute the next
  period depending on the chosen next invoice date
  to _get_next_period_date_end.
2023-03-15 12:38:21 +01:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00
2022-10-03 19:54:39 +02:00

Runboat Pre-commit Status Build Status codecov Translation Status

contract

TODO: add repo description.

This part will be replaced when running the oca-gen-addons-table script from OCA/maintainer-tools.

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


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.

Description
No description provided
Readme 66 MiB
Languages
Python 60.4%
HTML 39%
JavaScript 0.4%
SCSS 0.2%