Mourad
fae86d5180
[FIX][14.0] tests & typo
2023-05-04 16:41:52 +02:00
Mourad
7f00957670
[IMP][14.0] refactor code of product_contract module (make easy inherit in other modules)
2023-05-04 15:09:03 +02:00
Ilyas
f3cb7beb71
[IMP] product_contract: code improvements
2023-04-06 11:48:10 +02:00
Mourad
b793cf6356
[MIG] product_contract: Migration to 14.0
2023-04-03 11:23:39 +02:00
Mourad
1d0c280fe5
[IMP] product_contract: black, isort, prettier
2023-04-03 11:22:41 +02:00
sbejaoui
417702f3d5
[13.0][MIG] - migration product_contract
2023-03-30 13:59:09 +02:00
sbejaoui
25fea4afc5
[12.0][FIX] - fix contract creation group by contract template
2023-03-30 13:59:09 +02:00
sbejaoui
be6dcd0e4d
[IMP] - use terminate term instead of resiliate
2023-03-30 13:59:09 +02:00
sbejaoui
4450953113
[IMP] - can't upsell or downsell a resiliated contract
2023-03-30 13:59:09 +02:00
Ernesto Tejeda
86db9dc026
[FIX] product_contract: set 'Contract template' field company depend
2023-03-30 13:59:09 +02:00
sbejaoui
e86210409a
[IMP] - Improve UX, open contract form if the sale order is related to one (same for contract)
2023-03-30 13:59:09 +02:00
Oscar Soto
26431c5b47
[FIX]contract_count == len(active contracts)
2023-03-30 13:59:09 +02:00
sbejaoui
88497979e0
[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-03-30 13:59:09 +02:00
sbejaoui
18c897e67c
[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-03-30 13:59:09 +02:00
sbejaoui
6cb39e62ec
[12.0][IMP] - sale line linked to contracts must not be invoiced from sale order
2023-03-30 13:59:09 +02:00
sbejaoui
423dc4531b
[12.0][IMP] - Improve unit tests
2023-03-30 13:59:09 +02:00
sbejaoui
c16bf2fe2e
[12.0][REF] - Split analytic accouts and contracts
2023-03-30 13:59:09 +02:00
sbejaoui
4e29077acf
[12.0][FIX] - create contract only on sale and done states
2023-03-30 13:59:09 +02:00
sbejaoui
3a6544d1e3
[12.0][IMP] - option to decide if we automaticallt create contract a sale confirm
2023-03-30 13:59:09 +02:00
Thomas Binsfeld
f40bc23712
[FIX] Product Contract: copy invoicing partner to created contract
2023-03-30 13:59:09 +02:00
Thomas Binsfeld
9748620020
[ADD] Contract Sale: fiscal position
2023-03-30 13:59:09 +02:00
Thomas Binsfeld
a6ac4fef8a
[ADD] Product Contract: payment term
2023-03-30 13:59:09 +02:00
sbejaoui
d044330fdd
[IMP] - get contract user from sale order user
2023-03-30 13:59:09 +02:00
sbejaoui
7b88322ee1
[IMP] - _prepare_contract_value for sale order confirm
2023-03-30 13:59:09 +02:00
sbejaoui
ba65321a31
[IMP] - Upsell/Downsell contract from sale order
2023-03-30 13:59:09 +02:00
sbejaoui
6ccedf53ec
[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-03-30 13:59:09 +02:00
sbejaoui
6167501f3b
[FIX] - Remove recurring_next_date from sale order line
...
recurring_next_date should be computed by contract line to get default value
2023-03-30 13:59:09 +02:00
sbejaoui
82506d9468
[IMP] - Link contract line to sale order line
2023-03-30 13:59:09 +02:00
sbejaoui
11f35b248b
[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
2023-03-30 13:59:09 +02:00
sbejaoui
db601695f9
[IMP] - Add recurrence fields to product template and sale order line
2023-03-30 13:59:09 +02:00
Ted Salmon
9c73b48c0d
[ADD] product_contract: Create module
...
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2023-03-30 13:59:09 +02:00