Commit Graph

1531 Commits

Author SHA1 Message Date
Thomas Binsfeld
e8c4be156d [REF] Contract: set order count to 0 if no access to orders 2023-03-30 13:59:09 +02:00
sbejaoui
0127791e29 [FIX] - date_end computed only for contract products 2023-03-30 13:59:09 +02:00
sbejaoui
874e88f68b [IMP] - cancel contract line if the downsell/upsell comes before 2023-03-30 13:59:09 +02:00
sbejaoui
1859c3d5d5 [FIX] - Get auto_renew_rule_type based on recurring_rule_type 2023-03-30 13:59:09 +02:00
sbejaoui
2a424a5214 [FIX] - date_end required only for contract product 2023-03-30 13:59:09 +02:00
sbejaoui
b2a05cd09f [FIX] - Fix recurring_next_date 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
sbejaoui
8a863009ab [IMP] - auto_renew_rule deducted from recurring_rule_type and product_uom_qty 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
9748620020 [ADD] Contract Sale: fiscal position 2023-03-30 13:59:09 +02:00
sbejaoui
0080d1a419 [IMP] - Simplify sale order line creation for contract product 2023-03-30 13:59:09 +02:00
sbejaoui
9585076924 [REF] - predecessor_contract_line set in create process 2023-03-30 13:59:09 +02:00
sbejaoui
0f76c80372 [IMP] - Add unit test 2023-03-30 13:59:09 +02:00
sbejaoui
c38ce55f2c [FIX] - fix unit tests 2023-03-30 13:59:09 +02:00
sbejaoui
4f01dcb7d1 [IMP] - update invoice_line vals only if it is not null 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
b2d61e2c33 [FIX] - fix flake8 2023-03-30 13:59:09 +02:00
Thomas Binsfeld
3e6f50b8e9 [REF] Contract Product: invoice in prepare_invoice_line is optional 2023-03-30 13:59:09 +02:00
sbejaoui
2fd7d8c0ec [IMP] - show related sale orders in contract form 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
cb8e71d621 [REM] - Remove unused method 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
fb04ce19b1 [FIX] - include date_end in the period if the product is_autorenew 2023-03-30 13:59:09 +02:00
sbejaoui
2f3cff29b4 [IMP] - hide recurring_invoicing_type if recurring_rule_type is monthlylastday
for the monthlylastday case, pre-paid is logicly impossible,
if monthlylastday is set, we consider only post-paid case
2023-03-30 13:59:09 +02:00
sbejaoui
0ba3ae658a [FIX] - fix onchange 2023-03-30 13:59:09 +02:00
sbejaoui
02396d3d95 [FIX] - on upsel, contract line should stop day - 1 2023-03-30 13:59:09 +02:00
sbejaoui
19c05f6dd8 [IMP] - link contract line and its successor in upsel case 2023-03-30 13:59:09 +02:00
sbejaoui
3685d9a2dd [IMP] - compute date end onchange date start for auto-renew sale order lines 2023-03-30 13:59:09 +02:00
sbejaoui
1347133695 [ADD] - Add renewal process with termination notice 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
6350ccf2ec [FIX] - Compute recurring_next_date before create contract line 2023-03-30 13:59:09 +02:00
sbejaoui
8b1d413212 [FIX] - Change website to OCA repository url and prefix module name with Recurring 2023-03-30 13:59:09 +02:00
sbejaoui
232c4d7345 [IMP] - Onchange contract product on contract contract and contract template 2023-03-30 13:59:09 +02:00
sbejaoui
33b6176012 [ADD] - Add readme directory 2023-03-30 13:59:09 +02:00
sbejaoui
4bc77057cf [FIX] - Default value for date_start applied on product change 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
sbejaoui
9dbab0b659 [IMP] - Change dependencies to contract_sale 2023-03-30 13:59:09 +02:00
sbejaoui
a4d82e8f3e [IMP] - Product with is_contract can be only of type service 2023-03-30 13:59:09 +02:00
sbejaoui
214c4de11c [MIG] - Product Contract Migration to 12.0 2023-03-30 13:59:09 +02:00
Florent THOMAS
8a661fd957 [FIX] contract_sale_generation: it doesn't create sales (#141)
* Change the method called in the view
* Complete the create_invoice method
* Bump version + authoring
* Correct bad call of method
  Small Documentation
* Add super call in python test
* FIX bad field names causing bad quantities in sale.order.line
2023-03-30 13:59:09 +02:00
Dave Lasley
f422a4bc50 [FIX] product_contract: Fix mock usage in tests 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
Eric Antones
a679854853 [FIX] contract: subtotal miscalculated when price_unit displayed with fewer digits than actual value
This commit addresses an issue in the "contract" module where the subtotal was incorrectly calculated when the price_unit field was displayed with fewer digits than its actual value, resulting in discrepancies of a few cents.

The change made in this commit is: Adding the digits attribute with the value "Product Price" to the price_unit field, ensuring the proper display of decimal places, leading to accurate subtotal calculations and eliminating cent discrepancies.
2023-03-21 23:13:02 +01:00
Francesco Foresti
9e413a48fc Translated using Weblate (Italian)
Currently translated at 100.0% (15 of 15 strings)

Translation: contract-14.0/contract-14.0-contract_sale_generation
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract_sale_generation/it/
2023-03-09 12:23:25 +00:00
Francesco Foresti
797e7f52eb Translated using Weblate (Italian)
Currently translated at 98.1% (313 of 319 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/it/
2023-03-09 12:23:24 +00:00
Pedro M. Baeza
af6b7411fc Merge pull request #932 from ilyasProgrammer/14.0-update-copier
[14.0][UPD] copier
2023-03-07 16:24:16 +01:00
Ilyas
475e38c30a [14.0][UPD] copier 2023-03-07 13:36:34 +01:00