sbejaoui
ef91285268
[13.0][MIG] - migration product_contract
2022-06-18 14:54:58 +02:00
sbejaoui
75bf7a9818
[IMP] - Contract: add new recurring_rule_type quarterly and semesterly
2022-06-18 14:50:18 +02:00
sbejaoui
c05e36837f
[12.0][FIX] - fix contract creation group by contract template
2022-06-18 14:50:18 +02:00
sbejaoui
5346fbfecc
[IMP] - use terminate term instead of resiliate
2022-06-18 14:50:18 +02:00
sbejaoui
730655e1e8
[IMP] - can't upsell or downsell a resiliated contract
2022-06-18 14:50:18 +02:00
Ernesto Tejeda
0903328b14
[FIX] product_contract: set 'Contract template' field company depend
2022-06-18 14:50:18 +02:00
sbejaoui
09a2429633
[IMP] - Improve UX, open contract form if the sale order is related to one (same for contract)
2022-06-18 14:50:18 +02:00
sbejaoui
ad7434ad13
[12.0][ADD] - add auto_renew_interval, auto_renew_rule_type fields to sale order line
2022-06-18 14:50:18 +02:00
Oscar Soto
e065a99d3c
[FIX]contract_count == len(active contracts)
2022-06-18 14:50:18 +02:00
Pedro M. Baeza
82faef8aeb
[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.
2022-06-18 14:50:18 +02:00
sbejaoui
a8f8d12767
[12.0][FIX] - Set contract line analytic account at contract creation from SO
2022-06-18 14:50:18 +02:00
sbejaoui
d01e62fe35
[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
2022-06-18 14:50:18 +02:00
sbejaoui
859799fabd
[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
2022-06-18 14:50:18 +02:00
sbejaoui
0e0d8ecd6c
[12.0][IMP] - sale line linked to contracts must not be invoiced from sale order
2022-06-18 14:50:18 +02:00
sbejaoui
677b955b49
[12.0][IMP] - Improve unit tests
2022-06-18 14:50:18 +02:00
sbejaoui
df1880e81a
[12.0][REF] - Split analytic accouts and contracts
2022-06-18 14:50:18 +02:00
sbejaoui
dc45925e0c
[12.0][FIX] - create contract only on sale and done states
2022-06-18 14:50:18 +02:00
sbejaoui
e94c022c13
[FIX] - fix display name compute dependecy
2022-06-18 14:50:18 +02:00
sbejaoui
e875e1be6b
[12.0][IMP] - option to decide if we automaticallt create contract a sale confirm
2022-06-18 14:50:18 +02:00
Quentin Groulard
74f487d665
[ADD] Add start_date to contract_line display_name
...
In order to help distinguishing lines with the same name
2022-06-18 14:50:18 +02:00
sbejaoui
412ec28dfc
[IMP] - permit contract selection without contract_template_id
2022-06-18 14:50:18 +02:00
Thomas Binsfeld
3b147f532f
[REF] Contract: set order count to 0 if no access to orders
2022-06-18 14:50:18 +02:00
sbejaoui
5c09b78c07
[FIX] - date_end computed only for contract products
2022-06-18 14:50:18 +02:00
sbejaoui
4db07b7665
[IMP] - cancel contract line if the downsell/upsell comes before
2022-06-18 14:50:18 +02:00
sbejaoui
0d178775ca
[FIX] - Get auto_renew_rule_type based on recurring_rule_type
2022-06-18 14:50:18 +02:00
sbejaoui
f2b5fa6318
[FIX] - Fix recurring_next_date
2022-06-18 14:50:18 +02:00
Thomas Binsfeld
88df66f0ea
[FIX] Product Contract: copy invoicing partner to created contract
2022-06-18 14:50:18 +02:00
sbejaoui
a3a17fec79
[IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty
2022-06-18 14:50:18 +02:00
Thomas Binsfeld
0a4f030249
[ADD] Contract Sale: fiscal position
2022-06-18 14:50:18 +02:00
sbejaoui
48b9fa255c
[IMP] - Simplify sale order line creation for contract product
2022-06-18 14:50:18 +02:00
sbejaoui
8c618c9cd4
[REF] - predecessor_contract_line set in create process
2022-06-18 14:50:18 +02:00
sbejaoui
0d4c9a9445
[IMP] - Add unit test
2022-06-18 14:50:18 +02:00
sbejaoui
a60ca341c4
[IMP] - update invoice_line vals only if it is not null
2022-06-18 14:50:18 +02:00
Thomas Binsfeld
64e92d3773
[ADD] Product Contract: payment term
2022-06-18 14:50:18 +02:00
Thomas Binsfeld
4f2af0e866
[REF] Contract Product: invoice in prepare_invoice_line is optional
2022-06-18 14:50:18 +02:00
sbejaoui
1b9e84c373
[IMP] - show related sale orders in contract form
2022-06-18 14:50:18 +02:00
sbejaoui
f9e12edc86
[IMP] - get contract user from sale order user
2022-06-18 14:50:18 +02:00
sbejaoui
d5d782a776
[REM] - Remove unused method
2022-06-18 14:50:18 +02:00
sbejaoui
a99b9970f2
[IMP] - _prepare_contract_value for sale order confirm
2022-06-18 14:50:18 +02:00
sbejaoui
d41c186360
[FIX] - include date_end in the period if the product is_autorenew
2022-06-18 14:50:18 +02:00
sbejaoui
0b2d747eb8
[FIX] - fix onchange
2022-06-18 14:50:18 +02:00
sbejaoui
9a91ee31b9
[FIX] - on upsel, contract line should stop day - 1
2022-06-18 14:50:18 +02:00
sbejaoui
808e87007d
[IMP] - link contract line and its successor in upsel case
2022-06-18 14:50:18 +02:00
sbejaoui
a5b27f084a
[IMP] - compute date end onchange date start for auto-renew sale order lines
2022-06-18 14:50:18 +02:00
sbejaoui
a842f29af2
[ADD] - Add renewal process with termination notice
2022-06-18 14:50:18 +02:00
sbejaoui
cd3c602175
[IMP] - Upsell/Downsell contract from sale order
2022-06-18 14:50:18 +02:00
sbejaoui
d298a43c04
[FIX] - Compute recurring_next_date before create contract line
2022-06-18 14:50:18 +02:00
sbejaoui
fea6a81325
[IMP] - Onchange contract product on contract contract and contract template
2022-06-18 14:50:18 +02:00
sbejaoui
f20e3a322a
[FIX] - Default value for date_start applied on product change
2022-06-18 14:50:18 +02:00
sbejaoui
c9915a121a
[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
2022-06-18 14:50:18 +02:00