Carlos Roca
9e8129290a
[IMP] product_contract: Add posibility to compute date_start of line using confirmation date_start
...
With these changes, we allow the contract line start date to be computed
using the order confirmation date. When the product is configured with
any of the options set in contract_start_date_method other than manual,
the start date will be calculated based on the established date and the
selected period.
Additionally, we can force the month in which we will work in case the
frequency is yearly, quarterly, or semesterly.
Is not added support for daily, weekly or monthlylastday in this commit.
2024-09-02 08:37:45 +02:00
David Jaen
d1602ac12d
[IMP] product_contract: contract quantity same quantity of order
2024-05-08 16:17:59 +02:00
David Jaen
317012aac1
[MIG] product_contract: Migration to 17.0
2024-05-08 16:17:59 +02:00
Rad0van
6c4c858cd1
analytic_account_id
2024-05-06 17:49:07 +02:00
Rad0van
5c090b164f
analytic_distribution
2024-05-06 17:49:07 +02:00
Rad0van
1b930d402e
[MIG] product_contract: Migration to 16.0
2024-05-06 17:49:07 +02:00
Ilyas
f8909cfc06
[IMP] product_contract: code improvements
2024-05-06 17:49:07 +02:00
Mourad
d6e4d4b391
[MIG] product_contract: Migration to 14.0
2024-05-06 17:49:07 +02:00
Mourad
4b52807e89
[IMP] product_contract: black, isort, prettier
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
03d8a8956f
[IMP] - Contract: add new recurring_rule_type quarterly and semesterly
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
sbejaoui
5323d35354
[12.0][FIX] - Set contract line analytic account at contract creation from SO
2024-05-06 17:49:07 +02:00
sbejaoui
f6106181af
[12.0][IMP] - sale line linked to contracts must not be invoiced from sale order
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
0e5259b2fa
[IMP] - permit contract selection without contract_template_id
2024-05-06 17:49:07 +02:00
sbejaoui
7e3bf5b09b
[FIX] - date_end computed only for contract products
2024-05-06 17:49:07 +02:00
sbejaoui
c99cc123bb
[IMP] - cancel contract line if the downsell/upsell comes before
2024-05-06 17:49:07 +02:00
sbejaoui
a92e287ae8
[FIX] - Fix recurring_next_date
2024-05-06 17:49:07 +02:00
sbejaoui
583fff35f9
[IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty
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
4c5343c87f
[REF] - predecessor_contract_line set in create process
2024-05-06 17:49:07 +02:00
sbejaoui
0f90452095
[REM] - Remove unused method
2024-05-06 17:49:07 +02:00
sbejaoui
dc4d94591a
[FIX] - include date_end in the period if the product is_autorenew
2024-05-06 17:49:07 +02:00
sbejaoui
d6b24da56b
[FIX] - fix onchange
2024-05-06 17:49:07 +02:00
sbejaoui
a956163d42
[FIX] - on upsel, contract line should stop day - 1
2024-05-06 17:49:07 +02:00
sbejaoui
2be3a74d69
[IMP] - link contract line and its successor in upsel 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
961a77fcf8
[FIX] - Compute recurring_next_date before create contract line
2024-05-06 17:49:07 +02:00
sbejaoui
d7c72e03b6
[FIX] - Default value for date_start applied on product change
2024-05-06 17:49:07 +02:00
sbejaoui
9d01b3e20c
[IMP] - Contract product are ignored on invoicing process
...
- Sale order line for contract product pass to nothing to invoice on order confirmation
- Contract Invoices are linked to sale order line
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
6be193af2f
[IMP] - Link contract line to sale order line
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