sbejaoui
98ea250435
[IMP] - Contract: add new recurring_rule_type quarterly and semesterly
2023-11-09 15:05:40 +01:00
sbejaoui
9b2c4201ab
[12.0][FIX] - fix contract creation group by contract template
2023-11-09 15:05:40 +01:00
sbejaoui
11ebcdc006
[IMP] - use terminate term instead of resiliate
2023-11-09 15:05:40 +01:00
sbejaoui
e5da204711
[IMP] - can't upsell or downsell a resiliated contract
2023-11-09 15:05:40 +01:00
Ernesto Tejeda
5071b11391
[FIX] product_contract: set 'Contract template' field company depend
2023-11-09 15:05:40 +01:00
sbejaoui
feb8054fae
[IMP] - Improve UX, open contract form if the sale order is related to one (same for contract)
2023-11-09 15:05:40 +01:00
sbejaoui
879212bc95
[12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line
2023-11-09 15:05:40 +01:00
Oscar Soto
5171a5eed3
[FIX]contract_count == len(active contracts)
2023-11-09 15:05:40 +01:00
Pedro M. Baeza
25982d0cf7
[IMP] contract: remove redundant method
...
I have detected a method that was created as redundant and with the same
technique used when preparing the line values, so better to have
everything together in the same method instead of having it spread.
2023-11-09 15:05:40 +01:00
sbejaoui
cb57e3c995
[12.0][FIX] - Set contract line analytic account at contract creation from SO
2023-11-09 15:05:40 +01:00
sbejaoui
69d97b8a74
[12.0][FIX] - Run onchange contract_type when changing the contract template
...
Fix this use-case:
If the contract journal is not set on the contract template the contract is created
without a journal when confirming the sale order
2023-11-09 15:05:40 +01:00
sbejaoui
1ce387b1c9
[12.0][FIX] - contract company must be the same as the sale order
...
When creating a contract from a sale order the company must be the sale order
company and not the user company
2023-11-09 15:05:40 +01:00
sbejaoui
1b20b6e5c0
[12.0][IMP] - sale line linked to contracts must not be invoiced from sale order
2023-11-09 15:05:40 +01:00
sbejaoui
1ea463dfa9
[12.0][IMP] - Improve unit tests
2023-11-09 15:05:40 +01:00
sbejaoui
b8fa244fc7
[12.0][REF] - Split analytic accouts and contracts
2023-11-09 15:05:40 +01:00
sbejaoui
a2ac920982
[12.0][FIX] - create contract only on sale and done states
2023-11-09 15:05:40 +01:00
sbejaoui
b0920c370c
[FIX] - fix display name compute dependecy
2023-11-09 15:05:40 +01:00
sbejaoui
1795723b62
[12.0][IMP] - option to decide if we automaticallt create contract a sale confirm
2023-11-09 15:05:40 +01:00
Quentin Groulard
f9218d37b3
[ADD] Add start_date to contract_line display_name
...
In order to help distinguishing lines with the same name
2023-11-09 15:05:40 +01:00
sbejaoui
e6f15805bd
[IMP] - permit contract selection without contract_template_id
2023-11-09 15:05:40 +01:00
Thomas Binsfeld
74591f8df6
[REF] Contract: set order count to 0 if no access to orders
2023-11-09 15:05:40 +01:00
sbejaoui
d1f59215fd
[FIX] - date_end computed only for contract products
2023-11-09 15:05:40 +01:00
sbejaoui
e6b020caad
[IMP] - cancel contract line if the downsell/upsell comes before
2023-11-09 15:05:40 +01:00
sbejaoui
b38a406158
[FIX] - Get auto_renew_rule_type based on recurring_rule_type
2023-11-09 15:05:40 +01:00
sbejaoui
95cfc9dbe9
[FIX] - Fix recurring_next_date
2023-11-09 15:05:40 +01:00
Thomas Binsfeld
e7a7beefaa
[FIX] Product Contract: copy invoicing partner to created contract
2023-11-09 15:05:40 +01:00
sbejaoui
23ddc315fd
[IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty
2023-11-09 15:05:40 +01:00
Thomas Binsfeld
57409beb0f
[ADD] Contract Sale: fiscal position
2023-11-09 15:05:40 +01:00
sbejaoui
8ac0791418
[IMP] - Simplify sale order line creation for contract product
2023-11-09 15:05:40 +01:00
sbejaoui
2e06da22b3
[REF] - predecessor_contract_line set in create process
2023-11-09 15:05:40 +01:00
sbejaoui
a42a1fbbca
[IMP] - Add unit test
2023-11-09 15:05:40 +01:00
sbejaoui
02f338ac5b
[IMP] - update invoice_line vals only if it is not null
2023-11-09 15:05:40 +01:00
Thomas Binsfeld
cae46a4cc1
[ADD] Product Contract: payment term
2023-11-09 15:05:40 +01:00
Thomas Binsfeld
e7df781daa
[REF] Contract Product: invoice in prepare_invoice_line is optional
2023-11-09 15:05:40 +01:00
sbejaoui
41b6db34f8
[IMP] - show related sale orders in contract form
2023-11-09 15:05:40 +01:00
sbejaoui
a5cd06bebb
[IMP] - get contract user from sale order user
2023-11-09 15:05:40 +01:00
sbejaoui
5a0f24bd6e
[REM] - Remove unused method
2023-11-09 15:05:40 +01:00
sbejaoui
07d104c245
[IMP] - _prepare_contract_value for sale order confirm
2023-11-09 15:05:40 +01:00
sbejaoui
758eac6f1e
[FIX] - include date_end in the period if the product is_autorenew
2023-11-09 15:05:40 +01:00
sbejaoui
d081d7e067
[FIX] - fix onchange
2023-11-09 15:05:40 +01:00
sbejaoui
1426baa447
[FIX] - on upsel, contract line should stop day - 1
2023-11-09 15:05:40 +01:00
sbejaoui
c218efbd16
[IMP] - link contract line and its successor in upsel case
2023-11-09 15:05:40 +01:00
sbejaoui
8abbd4a3fd
[IMP] - compute date end onchange date start for auto-renew sale order lines
2023-11-09 15:05:40 +01:00
sbejaoui
4ce0cb8780
[ADD] - Add renewal process with termination notice
2023-11-09 15:05:39 +01:00
sbejaoui
4db2c556ae
[IMP] - Upsell/Downsell contract from sale order
2023-11-09 15:05:39 +01:00
sbejaoui
1875a60067
[FIX] - Compute recurring_next_date before create contract line
2023-11-09 15:05:39 +01:00
sbejaoui
6762d120e8
[IMP] - Onchange contract product on contract contract and contract template
2023-11-09 15:05:39 +01:00
sbejaoui
3679d75dc8
[FIX] - Default value for date_start applied on product change
2023-11-09 15:05:39 +01:00
sbejaoui
5d626d6385
[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
2023-11-09 15:05:39 +01:00
sbejaoui
06ec626e2a
[FIX] - Remove recurring_next_date from sale order line
...
recurring_next_date should be computed by contract line to get default value
2023-11-09 15:05:39 +01:00