Enrique
1b4e622dac
[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.
2022-01-24 13:45:33 +01:00
sbejaoui
e0199ee1f5
[12.0][IMP] - sale line linked to contracts must not be invoiced from sale order
2022-01-24 13:45:33 +01:00
oca-travis
d009086ee6
[UPD] Update contract_sale.pot
2022-01-24 13:45:33 +01:00
Thomas Binsfeld
fd77179c2e
[REF] Contract Sale: split from analytic account
...
[REF] Contract Sale: update translations
2022-01-24 13:45:33 +01:00
sbejaoui
8690d48f1f
[FIX] - default value for active field in contract line
...
[FIX] - fix flake8
2022-01-24 13:45:33 +01:00
sbejaoui
0969b1c4c2
[IMP] - Adapt contract sale to contract new views
2022-01-24 13:45:33 +01:00
黎伟杰
f6bbcacf46
Translated using Weblate (Chinese (Simplified))
...
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/zh_CN/
2022-01-24 13:45:33 +01:00
黎伟杰
904a8ced1d
Added translation using Weblate (Chinese (Simplified))
2022-01-24 13:45:33 +01:00
OCA-git-bot
3558b70c4d
[UPD] README.rst
2022-01-24 13:45:33 +01:00
Marta Vázquez Rodríguez
71bde183ac
Translated using Weblate (Galician)
...
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/gl/
2022-01-24 13:45:33 +01:00
Marta Vázquez Rodríguez
d00716ca7a
Added translation using Weblate (Galician)
2022-01-24 13:45:33 +01:00
oca-travis
a953b03727
[UPD] Update contract_sale.pot
2022-01-24 13:45:33 +01:00
OCA-git-bot
bf8db1769a
[UPD] README.rst
2022-01-24 13:45:33 +01:00
sbejaoui
630bfc10cf
[12.0][IMP] - Use sale.group_discount_per_so_line on discount field
2022-01-24 13:45:33 +01:00
sbejaoui
98f3545748
[MIG] contract_sale: Migration to 12.0
2022-01-24 13:45:33 +01:00
OCA Git Bot
cd06b45fdb
[UPD] README.rst
2022-01-24 13:45:33 +01:00
oca-travis
e1209fc5c2
[UPD] Update contract_sale.pot
2022-01-24 13:45:33 +01:00
Pedro M. Baeza
c9d76a277e
[FIX+IMP] contract_sale: Several things:
...
* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
2022-01-24 13:45:33 +01:00
Levent Karakaş
e473d67ede
[MIG] contract_sale: Migration to 11.0
2022-01-24 13:45:33 +01:00
OCA Transbot
06e4b78718
OCA Transbot updated translations from Transifex
2022-01-24 13:45:33 +01:00
Luis M. Ontalba
dbcac23b20
[ADD] contract_sale ( #104 )
2022-01-24 13:45:33 +01:00
OCA-git-bot
3ada67bc7c
[UPD] addons table in README.md
2021-12-16 10:28:53 +00:00
OCA-git-bot
6c46c19de9
contract 15.0.1.0.1
2021-12-16 10:28:48 +00:00
OCA-git-bot
fdaa4dbc7d
Merge PR #756 into 15.0
...
Signed-off-by pedrobaeza
2021-12-16 10:24:59 +00:00
manu
27700a9e0e
[FIX] contract: Avoid error in invoicing contracts crone
2021-12-16 10:24:02 +01:00
OCA-git-bot
06e41e5371
[ADD] setup.py
2021-11-26 12:34:40 +00:00
OCA-git-bot
8880f08a1c
[UPD] README.rst
2021-11-26 12:34:39 +00:00
OCA-git-bot
96fa6dcd33
[UPD] addons table in README.md
2021-11-26 12:34:38 +00:00
oca-ci
a44c27fd81
[UPD] Update contract.pot
2021-11-26 12:30:35 +00:00
OCA-git-bot
504dba3e81
Merge PR #738 into 15.0
...
Signed-off-by pedrobaeza
2021-11-26 12:27:40 +00:00
oca-git-bot
6479e9d8f8
[IMP] update dotfiles [ci skip]
2021-11-10 21:30:56 +01:00
Jean-Charles Drubay
119b5b6700
[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
2021-11-09 10:08:29 +07:00
Jean-Charles Drubay
7537451d2f
[IMP] contract: black, isort, prettier
2021-11-09 10:08:29 +07:00
Pedro Castro Silva
511c637d47
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/
2021-11-09 10:08:29 +07:00
pere-aquarian
cb261311db
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/
2021-11-09 10:08:29 +07:00
OCA-git-bot
68d248518f
contract 14.0.1.2.3
2021-11-09 10:08:29 +07:00
João Marques
992cac4deb
[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
2021-11-09 10:08:29 +07:00
OCA-git-bot
a0ab18e381
contract 14.0.1.2.2
2021-11-09 10:08:29 +07:00
Alexis de Lattre
a60709e1bd
[FIX] contract: fix an obvious crash when self is a multi-recordset
2021-11-09 10:08:29 +07:00
Ediz Duman
5add2e225f
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/
2021-11-09 10:08:29 +07:00
Pedro M. Baeza
4d1a3b31c5
[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
2021-11-09 10:08:29 +07:00
Ignacio Buioli
32db8d38f4
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/
2021-11-09 10:08:29 +07:00
OCA Transbot
23bfb94381
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/
2021-11-09 10:08:29 +07:00
OCA-git-bot
680c93e33f
contract 14.0.1.2.0
2021-11-09 10:08:29 +07:00
Ignacio Buioli
77f3613c82
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
2021-11-09 10:08:26 +07:00
OCA Transbot
ac474709e8
Update translation files
...
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.
Translation: contract-14.0/contract-14.0-contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract/
2021-11-09 10:08:26 +07:00
OCA-git-bot
52c0d16e5b
contract 14.0.1.1.0
2021-11-09 10:08:26 +07:00
Víctor Martínez
ca74e2eecd
[FIX] contract: Force add access_token in "View contract" button from contract modification mail.
...
[UPD] Update contract.pot
2021-11-09 10:08:23 +07:00
Víctor Martínez
f2996fcd44
[IMP] contract: Improve code to show recurring_rule_type from contract line in portal
2021-11-09 10:08:23 +07:00
Denis Roussel
23b4bc7bc6
[13.0][FIX] contract: Set layout for section and note in portal template
2021-11-09 10:08:23 +07:00