Oscar Soto
f92b3a6796
[FIX]contract_count == len(active contracts)
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
72922630c6
[12.0][IMP] - option to decide if we automaticallt create contract a sale confirm
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
Thomas Binsfeld
fa8abd8c86
[ADD] Contract Sale: fiscal position
2023-07-26 13:12:01 +00:00
Thomas Binsfeld
fbebeb4e38
[ADD] Product Contract: payment term
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
d2a58aea80
[IMP] - _prepare_contract_value for sale order confirm
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
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
sbejaoui
33f6ad70bf
[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-07-26 13:12:01 +00:00
sbejaoui
03b9d23ae0
[IMP] - Add recurrence fields to product template and sale order line
2023-07-26 13:12:01 +00:00
Ted Salmon
1c444627b9
[ADD] product_contract: Create module
...
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2023-07-26 13:12:01 +00:00