sbejaoui
1e5e9cc648
[12.0][FIX] - fix contract creation group by contract template
2023-07-26 13:12:02 +00:00
sbejaoui
9dd48e8d5d
[IMP] - use terminate term instead of resiliate
2023-07-26 13:12:01 +00:00
sbejaoui
a31dd36d59
[IMP] - can't upsell or downsell a resiliated contract
2023-07-26 13:12:01 +00:00
Ernesto Tejeda
49c85c197b
[FIX] product_contract: set 'Contract template' field company depend
2023-07-26 13:12:01 +00:00
sbejaoui
0277e134b5
[IMP] - Improve UX, open contract form if the sale order is related to one (same for contract)
2023-07-26 13:12:01 +00:00
sbejaoui
fde12514d7
[12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line
2023-07-26 13:12:01 +00:00
Oscar Soto
f92b3a6796
[FIX]contract_count == len(active contracts)
2023-07-26 13:12:01 +00:00
Pedro M. Baeza
eee7b3dc93
[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-07-26 13:12:01 +00:00
sbejaoui
8a25333a77
[12.0][FIX] - Set contract line analytic account at contract creation from SO
2023-07-26 13:12:01 +00:00
sbejaoui
267128121a
[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-07-26 13:12:01 +00:00
sbejaoui
80c6b728a1
[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-07-26 13:12:01 +00:00
sbejaoui
fe302a6991
[12.0][IMP] - sale line linked to contracts must not be invoiced from sale order
2023-07-26 13:12:01 +00:00
sbejaoui
74aded7ac0
[12.0][IMP] - Improve unit tests
2023-07-26 13:12:01 +00:00
sbejaoui
abf0e682f0
[12.0][REF] - Split analytic accouts and contracts
2023-07-26 13:12:01 +00:00
sbejaoui
c76761509b
[12.0][FIX] - create contract only on sale and done states
2023-07-26 13:12:01 +00:00
sbejaoui
43e60d38f4
[FIX] - fix display name compute dependecy
2023-07-26 13:12:01 +00:00
sbejaoui
72922630c6
[12.0][IMP] - option to decide if we automaticallt create contract a sale confirm
2023-07-26 13:12:01 +00:00
Quentin Groulard
0f7dcb950c
[ADD] Add start_date to contract_line display_name
...
In order to help distinguishing lines with the same name
2023-07-26 13:12:01 +00:00
sbejaoui
22ad6534a7
[IMP] - permit contract selection without contract_template_id
2023-07-26 13:12:01 +00:00
Thomas Binsfeld
76fe9b9fd0
[REF] Contract: set order count to 0 if no access to orders
2023-07-26 13:12:01 +00:00
sbejaoui
3153620ff0
[FIX] - date_end computed only for contract products
2023-07-26 13:12:01 +00:00
sbejaoui
576754d0bd
[IMP] - cancel contract line if the downsell/upsell comes before
2023-07-26 13:12:01 +00:00
sbejaoui
a16a7e002a
[FIX] - Get auto_renew_rule_type based on recurring_rule_type
2023-07-26 13:12:01 +00:00
sbejaoui
4cd468b7b2
[FIX] - Fix recurring_next_date
2023-07-26 13:12:01 +00:00
Thomas Binsfeld
85c51e8b06
[FIX] Product Contract: copy invoicing partner to created contract
2023-07-26 13:12:01 +00:00
sbejaoui
1707ac954d
[IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty
2023-07-26 13:12:01 +00:00
Thomas Binsfeld
fa8abd8c86
[ADD] Contract Sale: fiscal position
2023-07-26 13:12:01 +00:00
sbejaoui
2010e9bf36
[IMP] - Simplify sale order line creation for contract product
2023-07-26 13:12:01 +00:00
sbejaoui
4d4e1c4fb3
[REF] - predecessor_contract_line set in create process
2023-07-26 13:12:01 +00:00
sbejaoui
46a01d178a
[IMP] - Add unit test
2023-07-26 13:12:01 +00:00
sbejaoui
a921378c0d
[IMP] - update invoice_line vals only if it is not null
2023-07-26 13:12:01 +00:00
Thomas Binsfeld
fbebeb4e38
[ADD] Product Contract: payment term
2023-07-26 13:12:01 +00:00
Thomas Binsfeld
fe93bf4fe8
[REF] Contract Product: invoice in prepare_invoice_line is optional
2023-07-26 13:12:01 +00:00
sbejaoui
aac6878faa
[IMP] - show related sale orders in contract form
2023-07-26 13:12:01 +00:00
sbejaoui
e6eceaac96
[IMP] - get contract user from sale order user
2023-07-26 13:12:01 +00:00
sbejaoui
7a79ad7b39
[REM] - Remove unused method
2023-07-26 13:12:01 +00:00
sbejaoui
d2a58aea80
[IMP] - _prepare_contract_value for sale order confirm
2023-07-26 13:12:01 +00:00
sbejaoui
06a1c8ae9e
[FIX] - include date_end in the period if the product is_autorenew
2023-07-26 13:12:01 +00:00
sbejaoui
9538a7e057
[FIX] - fix onchange
2023-07-26 13:12:01 +00:00
sbejaoui
2de8494fcb
[FIX] - on upsel, contract line should stop day - 1
2023-07-26 13:12:01 +00:00
sbejaoui
7c9bbd95ee
[IMP] - link contract line and its successor in upsel case
2023-07-26 13:12:01 +00:00
sbejaoui
737091c016
[IMP] - compute date end onchange date start for auto-renew sale order lines
2023-07-26 13:12:01 +00:00
sbejaoui
881eb87c2c
[ADD] - Add renewal process with termination notice
2023-07-26 13:12:01 +00:00
sbejaoui
1f15f63951
[IMP] - Upsell/Downsell contract from sale order
2023-07-26 13:12:01 +00:00
sbejaoui
b6d8644583
[FIX] - Compute recurring_next_date before create contract line
2023-07-26 13:12:01 +00:00
sbejaoui
211f7125f3
[IMP] - Onchange contract product on contract contract and contract template
2023-07-26 13:12:01 +00:00
sbejaoui
2a9745b5db
[FIX] - Default value for date_start applied on product change
2023-07-26 13:12:01 +00:00
sbejaoui
f7b0c0a327
[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-07-26 13:12:01 +00:00
sbejaoui
d44dff5d2c
[FIX] - Remove recurring_next_date from sale order line
...
recurring_next_date should be computed by contract line to get default value
2023-07-26 13:12:01 +00:00
sbejaoui
e6134d1546
[IMP] - Link contract line to sale order line
2023-07-26 13:12:01 +00:00