Commit Graph

7 Commits

Author SHA1 Message Date
sbejaoui
f785d3ae76 [IMP] - Make recurrence mechanism on contract line
Make recurrence mechanism on contract line and some other refactoring

[FIX] - Keep contract_cron on account_analytic_account model

contract_cron defined with no_update option.
Changing it, will cause issue to past version installation.

[IMP] - Fix recurring_next_date default value

recurring_next_date should have start_date as default value in prepaid policy
and start_date + invoicing_interval if postpaid

[FIX] - Fix test check no journal

[IMP] - Return created invoices on recurring_create_invoice

[IMP] - Specific process to compute recurring_next_date for  monthly-last-day

fixes: #198

[ADD] - Add Post-migration script to bring recurrence info from contract to contract lines

[ADD] - Add search filter based on date_end and recurring_next_date

 - not_finished filter in contract search view
 - finished filter in contract search view
 - Next Invoice group by in contract search view

[ADD] - Add unit tests

- cases to compute first recurring next date
- contract recurring_next_date
- contract date_end

[IMP] - Improve Unit tests
2020-07-13 18:23:49 +02:00
Dave Lasley
051c2b7550 [IMP][10.0] contract: Add templating (#42)
Add template functionality for contracts
2020-07-13 17:02:57 +02:00
Pedro M. Baeza
27ce8702ad [MIG] contract: Migration to version 10.0 2020-07-13 17:02:57 +02:00
Carlos Dauden
fc00f8e531 [IMP] contract: Add past receipt type. Fix yearly. Add month last day 2020-07-13 17:02:57 +02:00
Pedro M. Baeza
55eddbeecc [IMP+FIX] contract: Better README + category + assign contract unconditionally 2020-07-13 17:02:57 +02:00
carlosdauden
ee4393e3be [9.0][IMP] contract: Get default invoice contact. (#32) 2020-07-13 17:02:57 +02:00
Carlos Incaser
08ffee2c82 [MIG] contract: from v7 to v9 improving features
* Tests added
* Filters added.
* Add _id/_ids in old property fields
* Translations
2020-07-13 17:02:57 +02:00