Commit Graph

27 Commits

Author SHA1 Message Date
Enric Tobella
8165ee4c54 [FIX] agreement_legal: Fix alert, improve test coverage 2023-01-26 16:03:56 +01:00
Olga Marco
ac95dedb05 [IMP] agreement_legal: Define warning days cron and filter 2023-01-26 13:06:56 +01:00
Víctor Martínez
b4f89f89ff [IMP] agreement_legal: Replace the created_by + date_created fields.
The created_by + date_created fields are removed and will be displayed in the view create_uid + create_date or related fields (create_uid_parent + create_date_parent).
TT32469
2021-10-20 08:08:38 +02:00
Víctor Martínez
138b90ac0e [FIX] agreement_legal: Change create_new_version() function in agreements
TT32359
2021-10-11 08:11:42 +02:00
newtratip
c9acdbc4d5 [14.0][ENH] agreement_legal 2021-08-04 17:24:55 +07:00
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
newtratip
a547f25081 [12.0][FIX] agreement_legal: Error when mass action on list view 2021-05-04 11:59:11 -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
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
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
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
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
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
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
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
3f9ae292f5 [FIX] agreement_legal: remove account dependency 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