David Jaen
317012aac1
[MIG] product_contract: Migration to 17.0
2024-05-08 16:17:59 +02:00
Rad0van
1b930d402e
[MIG] product_contract: Migration to 16.0
2024-05-06 17:49:07 +02:00
sbejaoui
e73d760569
[13.0][MIG] - migration product_contract
2024-05-06 17:49:07 +02:00
sbejaoui
19b16aabd3
[IMP] - use terminate term instead of resiliate
2024-05-06 17:49:07 +02:00
sbejaoui
2eff566cb4
[IMP] - can't upsell or downsell a resiliated contract
2024-05-06 17:49:07 +02:00
Ernesto Tejeda
b1e25f9d1c
[FIX] product_contract: set 'Contract template' field company depend
2024-05-06 17:49:07 +02:00
sbejaoui
e4c2bbc391
[12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line
2024-05-06 17:49:07 +02:00
Oscar Soto
caa09260bf
[FIX]contract_count == len(active contracts)
2024-05-06 17:49:07 +02:00
Stéphane Bidoul (ACSONE)
7a774daccd
[IMP] contract: support pre-paid for monthlylastday
...
monthlylastday is (almost) not a special case anymore \o/.
montlylastday is simply a montly period where the
periods are aligned on month boundaries.
The last bit of special casing is that postpaid generates
invoice the day after the last dasy of the period, except
for monthlylastday where the invoice is generated on the
last day of the period. This last exception will disappear
when we put the offset under user control.
This is a breaking change because the post-paid/pre-paid
mode becomes relevant for monthlylastday invoicing.
The field becomes visible in the UI. Code that generate
monthlylastday contract lines must now correctly set
the pre-paid/post-paid mode too. Some tests have had
to be adapted to reflect that.
2024-05-06 17:49:07 +02:00
sbejaoui
f20481191f
[FIX] - Remove deprecated field
2024-05-06 17:49:07 +02:00
sbejaoui
e90ff02011
[IMP] - improve is contract visibility in product view
2024-05-06 17:49:07 +02:00
sbejaoui
59d254ee4a
[12.0][IMP] - Improve unit tests
2024-05-06 17:49:07 +02:00
sbejaoui
14642e0bff
[12.0][REF] - Split analytic accouts and contracts
2024-05-06 17:49:07 +02:00
sbejaoui
bc0f33760e
[12.0][IMP] - option to decide if we automaticallt create contract a sale confirm
2024-05-06 17:49:07 +02:00
sbejaoui
0e5259b2fa
[IMP] - permit contract selection without contract_template_id
2024-05-06 17:49:07 +02:00
sbejaoui
23b7725b0c
[FIX] - date_end required only for contract product
2024-05-06 17:49:07 +02:00
sbejaoui
998d8ab9bd
[IMP] - Simplify sale order line creation for contract product
2024-05-06 17:49:07 +02:00
sbejaoui
8baae365a5
[IMP] - show related sale orders in contract form
2024-05-06 17:49:07 +02:00
sbejaoui
f13cc3d484
[IMP] - hide recurring_invoicing_type if recurring_rule_type is monthlylastday
...
for the monthlylastday case, pre-paid is logicly impossible,
if monthlylastday is set, we consider only post-paid case
2024-05-06 17:49:07 +02:00
sbejaoui
34f0c56e27
[IMP] - compute date end onchange date start for auto-renew sale order lines
2024-05-06 17:49:07 +02:00
sbejaoui
91f39c1a5b
[ADD] - Add renewal process with termination notice
2024-05-06 17:49:07 +02:00
sbejaoui
967d4dcef8
[IMP] - Upsell/Downsell contract from sale order
2024-05-06 17:49:07 +02:00
sbejaoui
26a3cbe417
[FIX] - Remove recurring_next_date from sale order line
...
recurring_next_date should be computed by contract line to get default value
2024-05-06 17:49:07 +02:00
sbejaoui
18649ec0c2
[IMP] - Create contract on sale order confirmation
...
- On Sale Order confirmation, a contract is created for each contract template used on sale order lines
- A not finished contract can be mentioned on sale order line
- A sale order line linked to a contract will update it and don't create a new one if it had the same template
2024-05-06 17:49:07 +02:00
sbejaoui
284dc91764
[IMP] - Add recurrence fields to product template and sale order line
2024-05-06 17:49:07 +02:00
Ted Salmon
85adab23c5
[ADD] product_contract: Create module
...
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2024-05-06 17:49:07 +02:00