Commit Graph

713 Commits

Author SHA1 Message Date
Ivorra78
3ceaa7350b Translated using Weblate (Spanish)
Currently translated at 100.0% (316 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/es/
2024-03-23 15:10:11 +00:00
mymage
09fb09d70d Translated using Weblate (Italian)
Currently translated at 60.1% (190 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2024-03-23 15:10:11 +00:00
Christopher Rogos
75a9c11816 [IMP] contract: Make portal link configurable 2024-03-23 15:10:11 +00:00
Nils Coenen
ddefbfef26 Translated using Weblate (German)
Currently translated at 99.0% (313 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/de/
2024-03-23 15:10:11 +00:00
Miquel Alzanillas
ffba712554 Added translation using Weblate (Catalan (ca_ES)) 2024-03-23 15:10:11 +00:00
mymage
8101795865 Translated using Weblate (Italian)
Currently translated at 60.1% (190 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2024-03-23 15:10:11 +00:00
Francesco Foresti
7385c061ae Translated using Weblate (Italian)
Currently translated at 60.1% (190 of 316 strings)

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/it/
2024-03-23 15:10:11 +00:00
Wolfgang Pichler
80ab14eca7 [MIG] contract: Migration to 16.0 2024-03-23 15:10:11 +00:00
Pedro M. Baeza
cfb211c61b [FIX] contract: Switch string > title in buttons
In v14, the `string` attribute of the buttons is shown directly in UI.
The tooltips are now put through `title` attribute. As that was the
original intention, let's switch `string` to `title`.
2024-03-23 15:10:11 +00:00
Víctor Martínez
bb3d170e8e [IMP] contract: Set fixed start dates in test contracts 2024-03-23 15:10:11 +00:00
Mourad
e5022af42b [FIX] contract: bug onchange date_start (comparison between bool and date) 2024-03-23 15:10:11 +00:00
Christopher Rogos
a2f60e723e [IMP] Add link to contract in invoice chatter 2024-03-23 15:10:11 +00:00
Víctor Martínez
14afc920ac [IMP] contract: Set invoice_user_id field with Form() to apply the correct values of other fields (team_id for example).
TT39934
2024-03-23 15:10:11 +00:00
pere-aquarian
ec7cd24daf Translated using Weblate (Spanish)
Currently translated at 91.7% (291 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es/
2024-03-23 15:10:11 +00:00
Douglas Custódio
c0c087903f Translated using Weblate (Portuguese (Brazil))
Currently translated at 79.8% (253 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/pt_BR/
2024-03-23 15:10:11 +00:00
Víctor Martínez
fdab299c2b [IMP] contract: Use _prepare_home_portal_values() function. 2024-03-23 15:10:11 +00:00
Wolfgang Pichler
9255fca0ab Translated using Weblate (German)
Currently translated at 68.7% (218 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/de/
2024-03-23 15:10:11 +00:00
Grégory Moka Tourisme
fc0a2856cf Translated using Weblate (French)
Currently translated at 93.0% (295 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/fr/
2024-03-23 15:10:11 +00:00
Ignacio Buioli
3d5261f841 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (317 of 317 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
2024-03-23 15:10:11 +00:00
chandni299
f797fe0056 [15.0][IMP] contract : show tags with colors in the contract 2024-03-23 15:10:11 +00:00
Grégory Moka Tourisme
052e26aa36 Translated using Weblate (French)
Currently translated at 93.3% (295 of 316 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/fr/
2024-03-23 15:10:11 +00:00
Ignacio Buioli
56f910e09e Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (316 of 316 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
2024-03-23 15:10:11 +00:00
João Marques
8a6982f3a7 [FIX] contract: Remove noupdate in mail template data
TT29820
2024-03-23 15:10:11 +00:00
Alba Riera
289e7160ea [FIX] contract: change where security is given to group_account_invoice: from contract_sale to contract 2024-03-23 15:10:11 +00:00
Denis Roussel
b36db56b6a [FIX+IMP] contract: lots of things
- Improve invoice generation through cron
  Avoid too much sql queries by iterating on first search
  Avoid performances problems through invoices ids isntead
  of recordset
- Improve tests
  Adds multi company tests
- Add a generation type on contract
  Add a generation type on contract that allows to generate other
  document than invoice (e.g. sale order)
- Allows to get several functions to create recurring documents
- Set visibility on button to show invoices
- Add generation_type field
- Update button visibility
- Simplify test flow
- Use Odoo conventions for methods
- Add explicit cron create type for invoices
- Improve function call for cron recurring creates
- Improve multi-company tests / don't break former tests structure
- Fix forwardport from 14.0 #741
2024-03-23 15:10:11 +00:00
mariadforgeflow
1b1b2fd477 [FIX] contract: add default_move_type in context 2024-03-23 15:10:11 +00:00
Ediz Duman
03f756eeea Translated using Weblate (Turkish)
Currently translated at 91.0% (285 of 313 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/tr/
2024-03-23 15:10:11 +00:00
juliap98
f6001546ea Translated using Weblate (Catalan)
Currently translated at 100.0% (313 of 313 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/ca/
2024-03-23 15:10:11 +00:00
Denis Roussel
88ddff2ebc [FIX+IMP] contract: Several things
- Don't update recurring_next_date as computed
- Compute recurring_next_date for False values too + simplify compute as False values are already taken into account
  In get_next_invoice_date, False values are already taken into account, so, simplifying
  compute_recurring_next_date function.
- Add comment to remind updating method in next version
2024-03-23 15:10:11 +00:00
Ignacio Buioli
09be01e5f8 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (313 of 313 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/es_AR/
2024-03-23 15:10:11 +00:00
Noel estudillo
06193e4f23 Translated using Weblate (Catalan)
Currently translated at 96.8% (303 of 313 strings)

Translation: contract-15.0/contract-15.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-15-0/contract-15-0-contract/ca/
2024-03-23 15:10:11 +00:00
Jean-Charles Drubay
aad405e568 ADJ: When generating invoices from the Wizard to create invoices manually, reraise any UserError with information about which contract triggered the exception to facilitate the investigation by accountants in case invoices are not generated automatically. 2024-03-23 15:10:11 +00:00
Víctor Martínez
e61cb592d9 [IMP] contract: Add discount + price_subtotal fields to the contract lines in the portal view.
TT34117
2024-03-23 15:10:11 +00:00
Joan Mateu Jordi
850238eb84 [15.0][IMP] modify production beta to stable 2024-03-23 15:10:11 +00:00
manu
f8fdb52745 [FIX] contract: Avoid error in invoicing contracts crone 2024-03-23 15:10:11 +00:00
Jean-Charles Drubay
da393c937d [MIG] contract: Migration to 15.0
Most changes are related to the switch from jinja to qweb in mail templates.

Also included:
- convert deprecated onchange that returns a domain and other deprecation warnings
  (see below)
- Add migration scripts from version 14.0 (force the update of the mail templates)
- Fix warnings from pre-commit checks

Fixes depreciation warnings:

- onchange method ContractAbstractContractLine._onchange_product_id returned
  a domain, this is deprecated
- SavepointCase is deprecated:
  https://github.com/odoo/odoo/blob/15.0/odoo/tests/common.py#L742
- assertDictContainsSubset: According to:
  https://stackoverflow.com/questions/20050913/python-unittests-assertdictcontainssubset-recommended-alternative
2024-03-23 15:10:11 +00:00
Jean-Charles Drubay
162d266218 [IMP] contract: black, isort, prettier 2024-03-23 15:10:10 +00:00
Pedro Castro Silva
17be8bdd2f Translated using Weblate (Portuguese)
Currently translated at 80.4% (247 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/pt/
2024-03-23 15:10:10 +00:00
pere-aquarian
77423096b9 Translated using Weblate (Catalan)
Currently translated at 98.3% (302 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/ca/
2024-03-23 15:10:10 +00:00
João Marques
5ff79bd878 [FIX] contract: Fix invoice creation and salesperson assignment
In v13, the `user_id` field is a related field to `invoice_user_id`, that defaults to the environment user (`self.env.user`).
Therefore, if we try to create an invoice just by passing `user_id`, it would be overwritten by the default computation of `invoice_user_id`.
This fixes it by passing the correct field and data.

TT31715
2024-03-23 15:10:10 +00:00
Alexis de Lattre
042aaf1573 [FIX] contract: fix an obvious crash when self is a multi-recordset 2024-03-23 15:10:10 +00:00
Ediz Duman
5338abee18 Translated using Weblate (Turkish)
Currently translated at 72.9% (224 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/tr/
2024-03-23 15:10:10 +00:00
Pedro M. Baeza
eae2dc5a48 [FIX] contract: Cleanup values on line when invoicing
It seems that having several fields returned by `Form` as `False` that
are related to one2many inverse field, makes Odoo ORM mad, and get to
an unbalanced move when generating the invoice.

Cleaning these values assures to work without problems.

Not able to provide a regression test, as I don't get to reproduce the
conditions to happen in test environment, but the patch is safe and
harmless anyways.

TT30842
2024-03-23 15:10:10 +00:00
Ignacio Buioli
b66018eb6e Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (307 of 307 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/es_AR/
2024-03-23 15:10:10 +00:00
Ignacio Buioli
9ce76c14a7 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (306 of 306 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/es_AR/

[UPD] Update contract.pot
2024-03-23 15:10:10 +00:00
Víctor Martínez
6ea141fa4a [IMP] contract: Improve code to show recurring_rule_type from contract line in portal + [FIX] Force add access_token in "View contract" button from contract modification mail 2024-03-23 15:10:10 +00:00
Denis Roussel
bc6f9ac118 [13.0][FIX] contract: Set layout for section and note in portal template 2024-03-23 15:10:10 +00:00
Pedro M. Baeza
d3846e97a2 [FIX] contract: Don't change period start date having line recurrence
Fine-tuning of cd086ddbb4. We shouldn't do
this adjustment if the line recurrence is set, as if so, there's no
possibility of adding post-paid lines with proper dates on a running
contract.
2024-03-23 15:10:10 +00:00
Bosd
a5b10a21c2 Translated using Weblate (Dutch)
Currently translated at 74.6% (227 of 304 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/nl/
2024-03-23 15:10:10 +00:00
Yves Le Doeuff
e390440205 Added translation using Weblate (French (France))
Currently translated at 94.7% (288 of 304 strings)

Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/fr/
2024-03-23 15:10:10 +00:00