Commit Graph

415 Commits

Author SHA1 Message Date
Patrick Wilson
5736d92ace [14.0][MIG] agreement_legal (Version 12.0 to 14.0)
[MIG] Black & Cleanup

[IMP] Reviewer Requested Changes

[IMP] Black

[IMP] Reviewer Suggestion

[FIX] Tests

[FIX] Multiple Issues

- Added 'is_old_version' field to better display old versions. Before these were marked as inactive therefore not showing in the agreement.
- 'is_template' field now copies when making a template revision or copying a template.
- New Versions now retain original create date.
- Moved version/revision and created on/by fields out of footer to top in order to have the save buttons when creating children.
- Moved demo data out of data folder into the demo.xml

[FIX] demo data

[FIX] Revert back to only migration

[FIX] Report dynamic field rendering

[FIX] Test
2021-06-29 09:17:58 -06:00
OCA-git-bot
1205bb7717 agreement_legal 12.0.2.0.1 2021-05-04 11:59:11 -06:00
newtratip
a547f25081 [12.0][FIX] agreement_legal: Error when mass action on list view 2021-05-04 11:59:11 -06:00
Murtuza Saleh
7f5dabeff9 [FIX] agreement_legal
Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Translated using Weblate (Spanish)

Currently translated at 99.3% (284 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/es/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

Translated using Weblate (French)

Currently translated at 98.6% (282 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/fr/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (286 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Translated using Weblate (French)

Currently translated at 100.0% (286 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/fr/
2021-05-04 11:59:10 -06:00
OCA-git-bot
6eef21c8cc agreement_legal 12.0.1.4.1 2021-05-04 11:59:10 -06:00
OCA-git-bot
1558336d0a agreement_legal 12.0.1.4.0
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

[UPD] Update agreement_legal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (285 of 285 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Added translation using Weblate (Spanish)

[UPD] Update agreement_legal.pot

Translated using Weblate (Spanish)

Currently translated at 14.0% (40 of 285 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/es/

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

Translated using Weblate (Spanish)

Currently translated at 99.3% (284 of 286 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/es/

[UPD] README.rst

[UPD] README.rst
2021-05-04 11:59:09 -06:00
Jairo Llopis
1954652b3d [IMP] agreement,agreement_legal: support activities
- The `agreement` model now features mail and activities from its base module.
- The `agreement_legal` module doesn't need to add mail support now.
- Add activities to form views.

@Tecnativa TT22477

[UPD] Update agreement_legal.pot
2021-05-04 11:59:09 -06:00
OCA-git-bot
df86be0ddf agreement_legal 12.0.1.3.1
[UPD] Update agreement_legal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/
2021-05-04 11:59:08 -06:00
OCA-git-bot
9c3759869a agreement_legal 12.0.1.3.0
Translated using Weblate (Portuguese)

Currently translated at 99.6% (284 of 285 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt/
2021-05-04 11:59:08 -06:00
OCA-git-bot
57642d3195 agreement_legal 12.0.1.2.1
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/
2021-05-04 11:59:07 -06:00
mreficent
9f803f4176 [FIX] company_partner_id and partner_id have the same label: Partner.
[UPD] Update agreement_legal.pot
2021-05-04 11:59:06 -06:00
Alexandre Díaz
d8c679342f [FIX] agreement_legal: Change partner_id domain in agreement view
Previous this commit users can't select a vendor in the agreement
form, this is not the behaviour described in the help. This
commit changes the domain to allow select a vendor.
2021-05-04 11:59:06 -06:00
OCA-git-bot
3ebbb69071 agreement_legal 12.0.1.2.0
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/
2021-05-04 11:59:06 -06:00
Alexandre Díaz
660fd5af29 [FIX] agreement_legal: Change company_contact_id domain
Before this commit, the view of agreement uses a dotted domain
on the 'right leaf' in the company_conact_id field causing
an javascript error.

Translated using Weblate (Portuguese (Portugal))

Currently translated at 73.9% (210 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/

Translated using Weblate (Portuguese)

Currently translated at 77.5% (220 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt/

[UPD] Update agreement_legal.pot
2021-05-04 11:59:05 -06:00
Marcel Savegnago
58672a090b [IMP] New icon for agreement modules (svg file in agreement_legal)
Translated using Weblate (Portuguese (Portugal))

Currently translated at 73.9% (210 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/

Added translation using Weblate (Portuguese)

Translated using Weblate (Portuguese)

Currently translated at 75.4% (214 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt/

Translated using Weblate (Portuguese)

Currently translated at 75.7% (215 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt/

Translated using Weblate (Portuguese)

Currently translated at 75.7% (215 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt/
2021-05-04 11:59:05 -06:00
OCA-git-bot
8b74a69fe4 agreement_legal 12.0.1.1.1
Added translation using Weblate (Portuguese (Brazil))

Translated using Weblate (Portuguese (Brazil))

Currently translated at 54.9% (156 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 97.5% (277 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_BR/

Translated using Weblate (Portuguese (Portugal))

Currently translated at 33.1% (94 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/

Translated using Weblate (Portuguese (Portugal))

Currently translated at 40.8% (116 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/
2021-05-04 11:59:04 -06:00
Alexandre Fayolle
a3954faeba [IMP] move some notions from agreement_legal to agreement
we move the is_template field definition and the agreement.type model from
the agreement_legal module to the agreement module.

The fields are not displayed by default, unless the feature is enabled through a
technical feature group, this is configurable in the agreement_sale module (because agreement
in itself has no UI, and agreement_legal enables the feature by default)

[UPD] Update agreement_legal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (284 of 284 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/zh_CN/
2021-05-04 11:59:03 -06:00
Yves Goldberg
4f74b8375e Update agreement_legal/models/agreement.py
Co-Authored-By: kongrattapong <52144935+kongrattapong@users.noreply.github.com>

Translated using Weblate (French)

Currently translated at 100.0% (287 of 287 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/fr/
2021-05-04 11:59:02 -06:00
brian10048
4916c1d1d0 [IMP] agreement_serviceprofile: add stage
- Add stage_type to agreement.stage
- Track stage of service profile
- Add Kanban view for service profiles to the dashboard
- Add product_id field to service profile

[UPD] Update agreement_legal.pot

Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

Added translation using Weblate (Chinese (Simplified))

Translated using Weblate (Chinese (Simplified))

Currently translated at 4.5% (13 of 287 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/zh_CN/

Translated using Weblate (Chinese (Simplified))

Currently translated at 39.4% (113 of 287 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/zh_CN/

Translated using Weblate (Chinese (Simplified))

Currently translated at 53.0% (152 of 287 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/zh_CN/

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (287 of 287 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/zh_CN/
2021-05-04 11:59:01 -06:00
Yves Goldberg
b52b822a3c [FIX] Issue #342
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/

Translated using Weblate (French)

Currently translated at 100.0% (260 of 260 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/fr/

[UPD] README.rst
2021-05-04 11:59:00 -06:00
Yves Goldberg
6f3c8a9580 [UPD] update agreement demo data with compulsory fields 2021-05-04 11:59:00 -06:00
Yves Goldberg
d77613c789 Update agreement_legal/__manifest__.py
Co-Authored-By: Maxime Chambreuil <mchambreuil@opensourceintegrators.com>

[UPD] README.rst

[UPD] Update agreement_legal.pot
2021-05-04 11:58:59 -06:00
Yves Goldberg
4232b8d6fc [UPD] PR review's remarks 2021-05-04 11:58:59 -06:00
Yves Goldberg
ddd2c80dfe [UPD] move data to demo keyword 2021-05-04 11:58:59 -06:00
Yves Goldberg
2aeda610f5 [UPD] update agreement demo data with compulsory fields 2021-05-04 11:58:59 -06:00
Maxime Chambreuil
0736051475 [IMP] agreement_legal: add readonly group
[UPD] Update agreement_legal.pot

[UPD] Update agreement_legal.pot
2021-05-04 11:58:58 -06:00
Maxime Chambreuil
82c0907b33 [FIX] Issue #331
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/
2021-05-04 11:58:58 -06:00
Maxime Chambreuil
c71d5e58bb [FIX] View priority
Translated using Weblate (Portuguese (Portugal))

Currently translated at 2.7% (7 of 260 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/

Translated using Weblate (Portuguese (Portugal))

Currently translated at 21.9% (57 of 260 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/pt_PT/
2021-05-04 11:58:56 -06:00
Maxime Chambreuil
b02592e09e [FIX] agreement_legal: Copy 2021-05-04 11:58:56 -06:00
Maxime Chambreuil
c83727d755 [FIX] Clauses are copied from the sections 2021-05-04 11:58:56 -06:00
Maxime Chambreuil
50e94409b5 [FIX] Duplicate label 2021-05-04 11:58:56 -06:00
Maxime Chambreuil
d23c34a938 Update agreement_section.py 2021-05-04 11:58:56 -06:00
Maxime Chambreuil
5327142bd5 [FIX] Issue #323 + Cleanup 2021-05-04 11:58:56 -06:00
Maxime Chambreuil
0986eff343 [FIX] agreement_legal: module name
[UPD] Update agreement_legal.pot

Added translation using Weblate (Portuguese (Portugal))
2021-05-04 11:58:56 -06:00
Maxime Chambreuil
2c5575451f [FIX] Icon in settings 2021-05-04 11:58:56 -06:00
Murtuza Saleh
f85b42fddb [FIX][12.0] Menu Icon.
[UPD] Update agreement_legal.pot
2021-05-04 11:58:55 -06:00
Yves Goldberg
d140e87875 [UPD] flake8 2021-05-04 11:58:55 -06:00
Yves Goldberg
ef34250bff [IMP] add default html value for parties 2021-05-04 11:58:55 -06:00
Yves Goldberg
13cb082a24 [FIX] pylint 2021-05-04 11:58:55 -06:00
Yves Goldberg
44596f66d1 [FIX] flake8 2021-05-04 11:58:55 -06:00
Yves Goldberg
b864f8cc59 [ADD] custom dynamic parties 2021-05-04 11:58:55 -06:00
Yves Goldberg
84a851ea05 [UPD] remove field reference and use field code
Translated using Weblate (French)

Currently translated at 100.0% (301 of 301 strings)

Translation: contract-12.0/contract-12.0-agreement_legal
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-agreement_legal/fr/

[UPD] Update agreement_legal.pot
2021-05-04 11:58:54 -06:00
Yves Goldberg
fa8d5a4dde [FIX] handling code field + partner_id
[UPD] Update agreement_legal.pot
2021-05-04 11:58:53 -06:00
Yves Goldberg
f56b190d06 [FIX] ooops
[UPD] README.rst
2021-05-04 11:58:47 -06:00
Yves Goldberg
3f9ae292f5 [FIX] agreement_legal: remove account dependency 2021-05-04 11:27:59 -06:00
Yves Goldberg
1d3a0b7e53 [FIX] flake8(2) 2021-05-04 11:27:59 -06:00
Yves Goldberg
731d9aff6a [FIX] flake8 2021-05-04 11:27:59 -06:00
Yves Goldberg
a0b272248d [ADD] agreement_legal migration 2021-05-04 11:27:59 -06:00
Ignacio Buioli
375ada1f46 Translated using Weblate (Spanish (Argentina))
Currently translated at 100.0% (1 of 1 strings)

Translation: contract-14.0/contract-14.0-contract_sale
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-contract_sale/es_AR/
2021-04-24 20:47:18 +00:00
Ignacio Buioli
09b241853a Added translation using Weblate (Spanish (Argentina)) 2021-04-24 18:18:56 +00:00