Commit Graph

899 Commits

Author SHA1 Message Date
Stéphane Bidoul (ACSONE)
dd3f3a6c77 [FIX] contract: add missing dependency in computed field 2019-12-06 15:33:26 +01:00
Stéphane Bidoul (ACSONE)
7c3b9bcfa7 [REF] contract: re-add _compute_first_recurring_next_date
For backward compatibility
2019-12-06 14:26:04 +01:00
Stéphane Bidoul (ACSONE)
aff3781c92 [REF] contract: refactor _update_recurring_next_date
Reuse the logic that is now fully located in _get_recurring_next_date.
2019-12-06 14:12:18 +01:00
Martronic SA
d89b2abe41 Translated using Weblate (French)
Currently translated at 92.7% (38 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/fr/
2019-12-06 12:04:44 +00:00
Martronic SA
01b5858dd0 Translated using Weblate (French)
Currently translated at 40.1% (85 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/fr/
2019-12-06 12:04:43 +00:00
Stéphane Bidoul (ACSONE)
83cb7c1d21 [REF] contract: refactor _get_period_to_invoice
Move the part of the logic that compute the next
period depending on the chosen next invoice date
to _get_next_period_date_end.
2019-12-06 12:44:23 +01:00
Stéphane Bidoul (ACSONE)
edf6833bec [IMP] contract: add next period start/end fields
Add two computed field showing the next period
start and end date. This improve the UX and will
enable further simplifications in the code.
2019-12-06 11:09:32 +01:00
Stéphane Bidoul (ACSONE)
e6b9ea9ce7 [REF] contract: handle max_date_end in _get_recurring_next_date
This concentrates all next date calculation
logic in one place, and will allow further simplifications.
2019-12-06 10:51:16 +01:00
Stéphane Bidoul (ACSONE)
5bc895980e [REF] contract: clarify _get_recurring_next_date
First compute the next period end date,
then derive the next invoice date from the next
period stard and end date.
2019-12-06 10:19:55 +01:00
Stéphane Bidoul (ACSONE)
5ee13d4cbd [REF] contract: rename misnamed methods 2019-12-06 09:19:18 +01:00
OCA-git-bot
debf048f7f [ADD] setup.py 2019-12-04 10:36:59 +00:00
OCA-git-bot
1c8bd55539 [ADD] icon.png 2019-12-04 10:36:59 +00:00
OCA-git-bot
21c0bace47 [UPD] README.rst 2019-12-04 10:36:58 +00:00
oca-travis
c6fd1ef911 [UPD] Update contract_forecast.pot 2019-12-04 10:08:14 +00:00
OCA-git-bot
3e3ef1a3c4 Merge PR #283 into 12.0
Signed-off-by sbejaoui
2019-12-04 09:33:01 +00:00
sbejaoui
35e5ef820b remove egg directory 2019-12-04 10:31:08 +01:00
OCA Transbot
09436a1b1c Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/
2019-12-03 09:58:33 +00:00
oca-travis
ab325387f9 [UPD] Update contract.pot 2019-12-03 09:41:30 +00:00
OCA-git-bot
34ec17d968 Merge PR #432 into 12.0
Signed-off-by sbejaoui
2019-12-03 09:25:23 +00:00
OCA-git-bot
cd1d7a4fdc Merge PR #433 into 12.0
Signed-off-by sbejaoui
2019-12-03 08:16:39 +00:00
Bole
8ffdac16f4 Translated using Weblate (Croatian)
Currently translated at 100.0% (41 of 41 strings)

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/hr/
2019-12-02 16:28:30 +00:00
Bole
7f776b34f1 Translated using Weblate (Croatian)
Currently translated at 22.2% (47 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/hr/
2019-12-02 16:28:30 +00:00
Pedro M. Baeza
8392d61221 [FIX] contract: Tests with duplicated name
So they are not executed at all. Detected by chance looking for a test for the other PR.
2019-12-02 16:04:36 +01:00
Pedro M. Baeza
d415e44ff7 [FIX] contract: Don't execute onchange after invoice creation
Using that approach (that is the current one in core)  has a lot of side effects and
performance bottlenecks. You can read odoo/odoo#40156 for summarizing them.

This also improves the handling of the values of payment term an fiscal position
for using the partner ones if not set.
2019-12-02 16:00:08 +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
OCA-git-bot
455fb5d6f3 [ADD] setup.py 2019-11-22 17:35:18 +00:00
oca-travis
7ae1be3a76 [UPD] Update contract_variable_qty_timesheet.pot 2019-11-22 17:03:11 +00:00
OCA-git-bot
fa97124c4e Merge PR #424 into 12.0
Signed-off-by pedrobaeza
2019-11-22 16:30:09 +00:00
Pedro M. Baeza
627e08d58d [MIG] contract_variable_qty_timesheet: Migration to 12.0
* Standard procedure
* README by fragments
* Promoted to Production/Stable and declared maintainers
* Code adapted to v12
* Tests added
2019-11-22 17:26:55 +01:00
Maria Sparenberg
549a7c61ad Added translation using Weblate (German)
Currently translated at 100.0% (3 of 3 strings)

Translation: contract-11.0/contract-11.0-contract_variable_qty_timesheet
Translate-URL: https://translation.odoo-community.org/projects/contract-11-0/contract-11-0-contract_variable_qty_timesheet/de/
2019-11-22 17:26:55 +01:00
Sergio Zanchetta
482d410214 Added translation using Weblate (Italian)
Currently translated at 66.7% (2 of 3 strings)

Translation: contract-11.0/contract-11.0-contract_variable_qty_timesheet
Translate-URL: https://translation.odoo-community.org/projects/contract-11-0/contract-11-0-contract_variable_qty_timesheet/it/
2019-11-22 17:26:55 +01:00
oca-travis
d88d0d93d4 [UPD] Update contract_variable_qty_timesheet.pot 2019-11-22 17:26:55 +01:00
OCA Transbot
3e816b8317 OCA Transbot updated translations from Transifex 2019-11-22 17:26:55 +01:00
Carlos Dauden
997a398081 [IMP] contract_variable_qty_timesheet: New module 2019-11-22 17:26:55 +01:00
Maxime Chambreuil
1da5123007 Merge pull request #427 from ursais/12.0-fix-agreement_maintenance
[FIX] agreement_maintenance: Element cannot be located in parent view
2019-11-22 09:29:44 -06:00
Maxime Chambreuil
ab872a5849 [FIX] agreement_maintenance: Element cannot be located in parent view 2019-11-22 08:51:19 -06:00
OCA-git-bot
3e531348cb [ADD] .editorconfig [ci skip] 2019-11-19 20:56:33 +01:00
Pedro M. Baeza
00d71f96f5 [MIG][FIX] contract: Move contracts, but disable them
There were an error in previous query for moving only contracts with the mark checked,
but it's also more logic to move them, but remain them disabled.
2019-11-18 10:13:54 +01:00
OCA-git-bot
9d052558b9 contract 12.0.4.2.5 2019-11-14 14:03:06 +00:00
OCA-git-bot
65750245d7 Merge PR #417 into 12.0
Signed-off-by pedrobaeza
2019-11-14 13:32:14 +00:00
Sergio Teruel
e0ff2922ff [IMP] contract: Fix test crash with other modules 2019-11-14 13:43:58 +01:00
Bole
bc3bc32d77 Translated using Weblate (Croatian)
Currently translated at 66.7% (24 of 36 strings)

Translation: contract-12.0/contract-12.0-agreement
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement/hr/
2019-11-12 16:34:27 +00:00
Bole
47a4b8e51a Translated using Weblate (Croatian)
Currently translated at 21.7% (46 of 212 strings)

Translation: contract-12.0/contract-12.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract/hr/
2019-11-12 16:34:27 +00:00
Bole
73674e9df9 Added translation using Weblate (Croatian) 2019-11-12 14:00:29 +00:00
Pedro M. Baeza
6b21d99c61 [MIG] contract: No contract on AA without recurring invoices flag
Don't transfer to contract those analytic accounts with the "Recurring invoicing" flag
unchecked.
2019-11-11 20:38:54 +01:00
sbejaoui
3b79dea3eb [IMP] - Add contract tags 2019-11-04 13:07:27 +01:00
OCA-git-bot
ec7c054b1c Merge PR #411 into 12.0
Signed-off-by sbejaoui
2019-11-04 11:26:17 +00:00
Pedro M. Baeza
3606d696c1 [FIX] contract_variable_quantity: Allow to propagate variable qty fields from template
**Steps to reproduce the problem**

- Define a contract template with one line with variable quantity and formula.
- Use that template in a new contract.
- Variable quantity type and formula are not transferred from template to contract.

This is due to the lack of that fields in the tree view that prevents web client to fetch
and store them.

We solve it adding those fields to the contract line tree view, also providing some
visibility logic for not showing the corresponding fields according the type.

No regression tests is provided, as this is only reproducible with web client, not through
code.
2019-11-04 11:07:38 +01:00
OCA-git-bot
41d787d830 [ADD] setup.py 2019-10-31 09:12:11 +00:00
OCA-git-bot
0a4a05af5b [UPD] README.rst 2019-10-31 09:12:10 +00:00