Commit Graph

29 Commits

Author SHA1 Message Date
Marcel Savegnago
db74a28a35 [IMP] add pricelist_id and currency_id on contract values 2021-06-24 20:26:33 -03:00
Kay Häusler
4087893a8c [FIX] Avoid singleton error 2020-12-03 20:37:09 +01:00
OCA-git-bot
34ccb999f7 Merge PR #485 into 12.0
Signed-off-by dreispt
2020-04-06 11:35:59 +00:00
OCA-git-bot
4950ce0740 Merge PR #462 into 12.0
Signed-off-by sbejaoui
2020-03-18 17:01:38 +00:00
sbejaoui
52f8007408 [12.0][FIX] - fix contract creation group by contract template 2020-03-17 17:56:50 +01:00
sbejaoui
e71fcc1694 [IMP] - use terminate term instead of resiliate 2020-03-11 11:13:13 +01:00
sbejaoui
41a517bac1 [IMP] - can't upsell or downsell a resiliated contract 2020-03-10 11:12:51 +01:00
Ernesto Tejeda
500461396b [FIX] product_contract: set 'Contract template' field company depend 2020-03-09 16:06:17 +01:00
sbejaoui
7bb1b2e755 [IMP] - Improve UX, open contract form if the sale order is related to one (same for contract) 2020-03-02 16:23:36 +01:00
Oscar Soto
5224bf2173 [FIX]contract_count == len(active contracts) 2020-02-05 16:09:36 +01:00
sbejaoui
1e9755d1e0 [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
2019-11-26 11:16:49 +01:00
sbejaoui
e1a399e14b [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
2019-10-30 19:30:04 +01:00
sbejaoui
738f53a6c7 [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2019-10-01 10:51:50 +02:00
sbejaoui
9d44088707 [12.0][IMP] - Improve unit tests 2019-10-01 09:23:30 +02:00
sbejaoui
424f819d87 [12.0][REF] - Split analytic accouts and contracts 2019-10-01 09:23:30 +02:00
sbejaoui
ae1b366692 [12.0][FIX] - create contract only on sale and done states 2019-10-01 09:23:30 +02:00
sbejaoui
27b157dcc8 [12.0][IMP] - option to decide if we automaticallt create contract a sale confirm 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
0c118d8f3e [FIX] Product Contract: copy invoicing partner to created contract 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
066a7397b8 [ADD] Contract Sale: fiscal position 2019-10-01 09:23:30 +02:00
Thomas Binsfeld
1c69339970 [ADD] Product Contract: payment term 2019-10-01 09:23:30 +02:00
sbejaoui
b9ffcd5054 [IMP] - get contract user from sale order user 2019-10-01 09:23:30 +02:00
sbejaoui
fc47a1edef [IMP] - _prepare_contract_value for sale order confirm 2019-10-01 09:23:30 +02:00
sbejaoui
29a83d7769 [IMP] - Upsell/Downsell contract from sale order 2019-10-01 09:23:30 +02:00
sbejaoui
147c40acaa [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
2019-10-01 09:23:30 +02:00
sbejaoui
3c882b6764 [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2019-10-01 09:23:30 +02:00
sbejaoui
44b7798a80 [IMP] - Link contract line to sale order line 2019-10-01 09:23:30 +02:00
sbejaoui
16f480c04c [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
2019-10-01 09:23:30 +02:00
sbejaoui
280eca9819 [IMP] - Add recurrence fields to product template and sale order line 2019-10-01 09:23:30 +02:00
Ted Salmon
43d21a3a4a [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2019-10-01 09:20:17 +02:00