Commit Graph

308 Commits

Author SHA1 Message Date
Víctor Martínez
9387d4793a [IMP] contract_sale: black, isort, prettier 2023-05-17 18:20:17 +00:00
Maxime Chambreuil
da89b6e8f0 Translated using Weblate (Spanish (Chile))
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-12.0/contract-12.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_sale/es_CL/
2023-05-17 18:20:17 +00:00
Ernesto Tejeda
e05a6e9ff4 [IMP] contract: add section and notes in contract line 2023-05-17 18:20:17 +00:00
Nelson Ramírez Sánchez
c751f6aa41 Added translation using Weblate (Spanish (Chile)) 2023-05-17 18:20:17 +00:00
Enrique
7828f204f6 [12.0][FIX] contract & contract_sale - security fix
The lowest model access for contract.contract model is group_account_invoice group. However the addon adds two smart buttons to res.partner view without any security restrictions and without compute_sudo attribute on computed fields.
This causes the view to crash when a user without the proper permissions tries to access the res.partner form view.
The solution adds groups_id to the partner form views in which the buttons are added, so the only loads when the user has proper permissions.
Other way to solve it would be to add compute_sudo attribute to the relevant fields, but this causes an access error when the user clicks on the smart buttons.
2023-05-17 18:20:17 +00:00
sbejaoui
800eb2961a [12.0][IMP] - sale line linked to contracts must not be invoiced from sale order 2023-05-17 18:20:17 +00:00
Thomas Binsfeld
a89bce052f [REF] Contract Sale: split from analytic account
[REF] Contract Sale: update translations
2023-05-17 18:20:17 +00:00
sbejaoui
11a6b7964a [IMP] - Adapt contract sale to contract new views 2023-05-17 18:20:17 +00:00
黎伟杰
c226440760 Added translation using Weblate (Chinese (Simplified)) 2023-05-17 18:20:17 +00:00
Marta Vázquez Rodríguez
73ce627dfe Added translation using Weblate (Galician) 2023-05-17 18:20:17 +00:00
sbejaoui
ed72031c05 [12.0][IMP] - Use sale.group_discount_per_so_line on discount field 2023-05-17 18:20:17 +00:00
sbejaoui
3a32a65da8 [MIG] contract_sale: Migration to 12.0 2023-05-17 18:20:17 +00:00
Pedro M. Baeza
62c8889b13 [FIX+IMP] contract_sale: Several things:
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2023-05-17 18:20:17 +00:00
Levent Karakaş
de10587257 [MIG] contract_sale: Migration to 11.0 2023-05-17 18:20:17 +00:00
Luis M. Ontalba
c557ad5300 [ADD] contract_sale (#104) 2023-05-17 18:20:17 +00:00
Jesús Feliciano Valdez Cruz [Vauxoo]
fd12bd4b9e [MIG] contract_invoice_start_end_dates: Migration to 16.0 2023-05-16 00:45:45 +00:00
Jesús Feliciano Valdez Cruz [Vauxoo]
15369abdbb [IMP] contract_invoice_start_end_dates: pre-commit stuff 2023-05-14 19:23:03 +00:00
Chafique
c5f186d54d [MIG] contract_invoice_start_end_dates: Migration to 14.0 2023-05-14 19:23:03 +00:00
Hans Henrik Gabelgaard
2c99ebf346 Translated using Weblate (Danish)
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-12.0/contract-12.0-contract_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-contract_invoice_start_end_dates/da/
2023-05-14 19:23:03 +00:00
Hans Henrik Gabelgaard
1508a44b74 Added translation using Weblate (Danish) 2023-05-14 19:23:03 +00:00
Alexis de Lattre
910d6a7575 [MIG] contract_invoice_start_end_dates to v12 2023-05-14 19:23:03 +00:00
Florian da Costa
1b66d35a8c Add module contract_invoice_start_end_dates 2023-05-14 19:13:19 +00:00
Weblate
04a1c1b23b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-16.0/contract-16.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-16-0/contract-16-0-contract/
2023-03-15 15:17:54 +00:00
OCA-git-bot
70f8bca91b [ADD] setup.py 2023-03-15 11:46:23 +00:00
OCA-git-bot
1a18e9948f [UPD] README.rst 2023-03-15 11:46:22 +00:00
OCA-git-bot
d95cc80b57 [UPD] addons table in README.md 2023-03-15 11:46:22 +00:00
oca-ci
f8207a33a8 [UPD] Update contract.pot 2023-03-15 11:43:09 +00:00
OCA-git-bot
715370a486 Merge PR #887 into 16.0
Signed-off-by pedrobaeza
2023-03-15 11:39:42 +00:00
Wolfgang Pichler
10e9287cb6 [MIG] contract: Migration to 16.0 2023-03-15 12:38:45 +01:00
Wolfgang Pichler
c72ead9f67 [IMP] contract: pre-commit stuff 2023-03-15 12:38:45 +01:00
Pedro M. Baeza
8c269f062e [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`.
2023-03-15 12:38:45 +01:00
Víctor Martínez
8c00427d47 [IMP] contract: Set fixed start dates in test contracts 2023-03-15 12:38:45 +01:00
Mourad
1a9a2fdaac [FIX] contract: bug onchange date_start (comparison between bool and date) 2023-03-15 12:38:45 +01:00
Christopher Rogos
e79298dfb8 [IMP] Add link to contract in invoice chatter 2023-03-15 12:38:45 +01:00
Víctor Martínez
d381d11917 [IMP] contract: Set invoice_user_id field with Form() to apply the correct values of other fields (team_id for example).
TT39934
2023-03-15 12:38:45 +01:00
pere-aquarian
e4a84612dc 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/
2023-03-15 12:38:45 +01:00
Douglas Custódio
c4b6167a0e 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/
2023-03-15 12:38:45 +01:00
Víctor Martínez
56f4b44a5a [IMP] contract: Use _prepare_home_portal_values() function. 2023-03-15 12:38:45 +01:00
Wolfgang Pichler
a1b055ae84 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/
2023-03-15 12:38:45 +01:00
Grégory Moka Tourisme
aca5577657 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/
2023-03-15 12:38:45 +01:00
Ignacio Buioli
bbfd083ea7 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/
2023-03-15 12:38:45 +01:00
chandni299
ad929e2512 [15.0][IMP] contract : show tags with colors in the contract 2023-03-15 12:38:45 +01:00
Grégory Moka Tourisme
3390020f91 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/
2023-03-15 12:38:45 +01:00
Ignacio Buioli
7bf498cb9e 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/
2023-03-15 12:38:45 +01:00
João Marques
286399345f [FIX] contract: Remove noupdate in mail template data
TT29820
2023-03-15 12:38:45 +01:00
Alba Riera
9d173148ff [FIX] contract: change where security is given to group_account_invoice: from contract_sale to contract 2023-03-15 12:38:45 +01:00
Denis Roussel
5261c621d5 [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
2023-03-15 12:38:45 +01:00
mariadforgeflow
e230ba9f0f [FIX] contract: add default_move_type in context 2023-03-15 12:38:45 +01:00
Ediz Duman
d8f90f2eeb 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/
2023-03-15 12:38:45 +01:00
juliap98
a9220f27c4 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/
2023-03-15 12:38:45 +01:00