Commit Graph

476 Commits

Author SHA1 Message Date
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
de6033fb85 [FIX] - fix unit tests 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
sbejaoui
1f00ebb7cd [FIX] - fix flake8 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
sbejaoui
f13cc3d484 [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
2024-05-06 17:49:07 +02:00
sbejaoui
d6b24da56b [FIX] - fix onchange 2024-05-06 17:49:07 +02:00
sbejaoui
a956163d42 [FIX] - on upsel, contract line should stop day - 1 2024-05-06 17:49:07 +02:00
sbejaoui
2be3a74d69 [IMP] - link contract line and its successor in upsel case 2024-05-06 17:49:07 +02:00
sbejaoui
34f0c56e27 [IMP] - compute date end onchange date start for auto-renew sale order lines 2024-05-06 17:49:07 +02:00
sbejaoui
91f39c1a5b [ADD] - Add renewal process with termination notice 2024-05-06 17:49:07 +02:00
sbejaoui
967d4dcef8 [IMP] - Upsell/Downsell contract from sale order 2024-05-06 17:49:07 +02:00
sbejaoui
961a77fcf8 [FIX] - Compute recurring_next_date before create contract line 2024-05-06 17:49:07 +02:00
sbejaoui
e12f8c951d [FIX] - Change website to OCA repository url and prefix module name with Recurring 2024-05-06 17:49:07 +02:00
sbejaoui
9dfde8e380 [IMP] - Onchange contract product on contract contract and contract template 2024-05-06 17:49:07 +02:00
sbejaoui
3baeea2eaa [ADD] - Add readme directory 2024-05-06 17:49:07 +02:00
sbejaoui
d7c72e03b6 [FIX] - Default value for date_start applied on product change 2024-05-06 17:49:07 +02:00
sbejaoui
9d01b3e20c [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
2024-05-06 17:49:07 +02:00
sbejaoui
26a3cbe417 [FIX] - Remove recurring_next_date from sale order line
recurring_next_date should be computed by contract line to get default value
2024-05-06 17:49:07 +02:00
sbejaoui
6be193af2f [IMP] - Link contract line to sale order line 2024-05-06 17:49:07 +02:00
sbejaoui
18649ec0c2 [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
2024-05-06 17:49:07 +02:00
sbejaoui
284dc91764 [IMP] - Add recurrence fields to product template and sale order line 2024-05-06 17:49:07 +02:00
sbejaoui
2547187728 [IMP] - Change dependencies to contract_sale 2024-05-06 17:49:07 +02:00
sbejaoui
187ca1f4ce [IMP] - Product with is_contract can be only of type service 2024-05-06 17:49:07 +02:00
sbejaoui
84e77bc312 [MIG] - Product Contract Migration to 12.0 2024-05-06 17:49:07 +02:00
Florent THOMAS
b290dc98d1 [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
2024-05-06 17:49:07 +02:00
Dave Lasley
58b3d9987f [FIX] product_contract: Fix mock usage in tests 2024-05-06 17:49:07 +02:00
Ted Salmon
85adab23c5 [ADD] product_contract: Create module
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
2024-05-06 17:49:07 +02:00
mymage
bcf7bd7d0e Translated using Weblate (Italian)
Currently translated at 100.0% (314 of 314 strings)

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/it/
2024-05-06 15:34:21 +00:00
oca-git-bot
6de622843d [IMP] update dotfiles 2024-05-01 16:21:51 +00:00
Ivorra78
14e001d053 Translated using Weblate (Spanish)
Currently translated at 100.0% (314 of 314 strings)

Translation: contract-17.0/contract-17.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract/es/
2024-04-24 10:35:28 +00:00
Weblate
5ad08b4a8a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-17.0/contract-17.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-contract_sale/
2024-04-21 00:35:01 +00:00
OCA-git-bot
c7af3395a5 [BOT] post-merge updates 2024-04-20 22:26:14 +00:00
OCA-git-bot
0f7079b366 Merge PR #1074 into 17.0
Signed-off-by pedrobaeza
2024-04-20 22:22:31 +00:00
OCA-git-bot
6cbe28562e [BOT] post-merge updates 2024-04-17 19:32:33 +00:00
OCA-git-bot
6b4566bc6c Merge PR #1075 into 17.0
Signed-off-by pedrobaeza
2024-04-17 19:29:42 +00:00
Alicia Garzo Moreno
9145184622 [17.0][IMP] contract: solve error for last_date_invoiced field 2024-04-15 20:19:11 +02:00
jaydeep32
978b98e3e8 [MIG] contract_sale: Migration to 17.0 2024-04-15 12:24:25 -04:00
jaydeep32
8c06467525 [IMP] contract_sale: pre-commit auto fixes 2024-04-15 12:24:25 -04:00
fkantelberg
54353c07a1 [16.0] contract: Show discount lines for users with the group 'Discount on lines' 2024-04-15 12:24:25 -04:00
Miquel Alzanillas
58a91960c0 Added translation using Weblate (Catalan (ca_ES)) 2024-04-15 12:24:25 -04:00
Christopher Rogos
54356a93a0 [FIX] Update sale menu sequence and remove auto install 2024-04-15 12:24:25 -04:00