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
David Jaen
df1331c8aa
[IMP] product_contract: pre-commit auto fixes
2024-05-07 13:46:18 +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
Ilyas
e4244d4ad8
[IMP] product_contract: use _compute_display_name. Moved it to contract module.
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
cd92d3e1fd
[12.0][FIX] - fix contract creation group by contract template
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
184a29b9e7
[IMP] - Improve UX, open contract form if the sale order is related to one (same for contract)
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
Pedro M. Baeza
94cbb79aec
[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.
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
47922ad403
[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
2024-05-06 17:49:07 +02:00
sbejaoui
39d796b446
[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
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
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
5b4b09ab5f
[12.0][FIX] - create contract only on sale and done states
2024-05-06 17:49:07 +02:00
sbejaoui
7ea0bf3c1c
[FIX] - fix display name compute dependecy
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
Quentin Groulard
a1cdd4169d
[ADD] Add start_date to contract_line display_name
...
In order to help distinguishing lines with the same name
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
Thomas Binsfeld
b14f2e38e9
[REF] Contract: set order count to 0 if no access to orders
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
06841a2dc9
[FIX] - Get auto_renew_rule_type based on recurring_rule_type
2024-05-06 17:49:07 +02:00
sbejaoui
a92e287ae8
[FIX] - Fix recurring_next_date
2024-05-06 17:49:07 +02:00
Thomas Binsfeld
fc0dd2fc5a
[FIX] Product Contract: copy invoicing partner to created contract
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
Thomas Binsfeld
0c22dcab31
[ADD] Contract Sale: fiscal position
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
4332d4dd9a
[IMP] - Add unit test
2024-05-06 17:49:07 +02:00
sbejaoui
3bdb7e99f0
[IMP] - update invoice_line vals only if it is not null
2024-05-06 17:49:07 +02:00
Thomas Binsfeld
b4ec8b9dcd
[ADD] Product Contract: payment term
2024-05-06 17:49:07 +02:00
Thomas Binsfeld
596da0957f
[REF] Contract Product: invoice in prepare_invoice_line is optional
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
7a2443554b
[IMP] - get contract user from sale order user
2024-05-06 17:49:07 +02:00
sbejaoui
0f90452095
[REM] - Remove unused method
2024-05-06 17:49:07 +02:00
sbejaoui
061f743734
[IMP] - _prepare_contract_value for sale order confirm
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