Skip to content

Commit

Permalink
Merge branch 'OCA:14.0' into 14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ecino authored Mar 25, 2024
2 parents 08421a5 + 88390ea commit b97c46c
Show file tree
Hide file tree
Showing 216 changed files with 4,869 additions and 970 deletions.
9 changes: 5 additions & 4 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.14.2
_commit: v1.20
_src_path: gh:oca/oca-addons-repo-template
ci: GitHub
dependency_installation_mode: PIP
convert_readme_fragments_to_markdown: false
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
Expand All @@ -11,6 +11,7 @@ github_enable_makepot: true
github_enable_stale_action: true
github_enforce_dev_status_compatibility: true
include_wkhtmltopdf: true
odoo_test_flavor: Both
odoo_version: 14.0
org_name: Odoo Community Association (OCA)
org_slug: OCA
Expand All @@ -19,6 +20,6 @@ repo_description: This repository is for all functionality around partners.
repo_name: All functionalities around partners.
repo_slug: partner-contact
repo_website: https://github.com/OCA/partner-contact
travis_apt_packages: []
travis_apt_sources: []
use_pyproject_toml: false
use_ruff: false

1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ globals:
odoo: readonly
openerp: readonly
owl: readonly
luxon: readonly

# Styling is handled by Prettier, so we only need to enable AST rules;
# see https://github.com/OCA/maintainer-quality-tools/pull/618#issuecomment-558576890
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
Expand All @@ -25,6 +27,15 @@ jobs:
run: pip install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
env:
# Consider valid a PR that changes README fragments but doesn't
# change the README.rst file itself. It's not really a problem
# because the bot will update it anyway after merge. This way, we
# lower the barrier for functional contributors that want to fix the
# readme fragments, while still letting developers get README
# auto-generated (which also helps functionals when using runboat).
# DOCS https://pre-commit.com/#temporarily-disabling-hooks
SKIP: oca-gen-addon-readme
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
name: Detect unreleased dependencies
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
Expand All @@ -36,10 +36,10 @@ jobs:
matrix:
include:
- container: ghcr.io/oca/oca-ci/py3.6-odoo14.0:latest
makepot: "true"
name: test with Odoo
- container: ghcr.io/oca/oca-ci/py3.6-ocb14.0:latest
name: test with OCB
makepot: "true"
services:
postgres:
image: postgres:9.6
Expand All @@ -50,7 +50,7 @@ jobs:
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install addons and dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ __pycache__/
*.py[cod]
/.venv
/.pytest_cache
/.ruff_cache

# C extensions
*.so
Expand Down
2 changes: 2 additions & 0 deletions .oca_hooks.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[MESSAGES_CONTROL]
disable=xml-deprecated-data-node,xml-deprecated-tree-attribute
19 changes: 18 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ exclude: |
/static/(src/)?lib/|
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
# Don't bother non-technical authors with formatting issues in docs
readme/.*\.(rst|md)$|
# Ignore build and dist directories in addons
/build/|/dist/|
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
Expand All @@ -33,12 +37,25 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
rev: ab1d7f6
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
- id: oca-fix-manifest-website
args: ["https://github.com/OCA/partner-contact"]
- id: oca-gen-addon-readme
args:
- --addons-dir=.
- --branch=14.0
- --org-name=OCA
- --repo-name=partner-contact
- --if-source-changed
- --keep-source-digest
- repo: https://github.com/OCA/odoo-pre-commit-hooks
rev: v0.0.25
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
- repo: https://github.com/myint/autoflake
rev: v1.4
hooks:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ addon | version | maintainers | summary
[partner_address_street3](partner_address_street3/) | 14.0.1.0.0 | | Add a third address line on partners
[partner_address_version](partner_address_version/) | 14.0.1.0.0 | | Partner Address Version
[partner_affiliate](partner_affiliate/) | 14.0.1.0.1 | | Partner Affiliates
[partner_bank_acc_type_constraint](partner_bank_acc_type_constraint/) | 14.0.1.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Adds constraint on bank account type
[partner_bank_code](partner_bank_code/) | 14.0.1.1.0 | | Add fields information in banks
[partner_capital](partner_capital/) | 14.0.1.0.0 | | Partners Capital
[partner_category_security](partner_category_security/) | 14.0.1.0.1 | [![victoralmau](https://github.com/victoralmau.png?size=30px)](https://github.com/victoralmau) | Partner category security
Expand Down Expand Up @@ -83,6 +84,7 @@ addon | version | maintainers | summary
[partner_priority](partner_priority/) | 14.0.1.0.0 | [![patrickrwilson](https://github.com/patrickrwilson.png?size=30px)](https://github.com/patrickrwilson) | Adds priority to partners.
[partner_ref_unique](partner_ref_unique/) | 14.0.1.0.0 | | Add an unique constraint to partner ref field
[partner_second_lastname](partner_second_lastname/) | 14.0.1.1.0 | | Have split first and second lastnames
[partner_sequence_address_type](partner_sequence_address_type/) | 14.0.1.0.0 | [![aleuffre](https://github.com/aleuffre.png?size=30px)](https://github.com/aleuffre) [![renda-dev](https://github.com/renda-dev.png?size=30px)](https://github.com/renda-dev) [![PicchiSeba](https://github.com/PicchiSeba.png?size=30px)](https://github.com/PicchiSeba) | Partner Sequence Address Type
[partner_stage](partner_stage/) | 14.0.2.1.1 | [![dreispt](https://github.com/dreispt.png?size=30px)](https://github.com/dreispt) | Add lifecycle Stages to Partners
[partner_tier_validation](partner_tier_validation/) | 14.0.3.0.2 | [![dreispt](https://github.com/dreispt.png?size=30px)](https://github.com/dreispt) | Support a tier validation process for Contacts
[partner_title_order](partner_title_order/) | 14.0.1.0.0 | | Makes partner title sortable by sequence
Expand Down
6 changes: 0 additions & 6 deletions animal/i18n/animal.pot
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ msgstr ""

#. module: animal
#: model:ir.model.fields,help:animal.field_animal__message_has_error
#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr ""

Expand Down Expand Up @@ -496,11 +495,6 @@ msgstr ""
msgid "Rottweiler"
msgstr ""

#. module: animal
#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error
msgid "SMS Delivery error"
msgstr ""

#. module: animal
#: model:animal.color,name:animal.salt
msgid "Salt and pepper"
Expand Down
17 changes: 7 additions & 10 deletions animal/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-03-09 21:15+0000\n"
"PO-Revision-Date: 2021-07-08 14:48+0000\n"
"Last-Translator: Esteka Digital <[email protected]>\n"
"PO-Revision-Date: 2024-01-13 10:33+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"
"X-Generator: Weblate 4.17\n"

#. module: animal
#: model:ir.model.fields,field_description:animal.field_animal__message_needaction
Expand Down Expand Up @@ -341,7 +341,6 @@ msgstr "Si está marcado, nuevos mensajes requieren tu atención."

#. module: animal
#: model:ir.model.fields,help:animal.field_animal__message_has_error
#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr "Si está marcado, algunos mensajes tienen un error en la entrega."

Expand Down Expand Up @@ -500,11 +499,6 @@ msgstr "Usuario responsable"
msgid "Rottweiler"
msgstr "Rottweiler"

#. module: animal
#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error
msgid "SMS Delivery error"
msgstr "Error de entrega de SMS"

#. module: animal
#: model:animal.color,name:animal.salt
msgid "Salt and pepper"
Expand All @@ -519,7 +513,7 @@ msgstr "Schnauzer"
#: model:ir.model.fields,field_description:animal.field_animal_breed__sequence
#: model:ir.model.fields,field_description:animal.field_animal_species__sequence
msgid "Sequence"
msgstr ""
msgstr "Secuencia"

#. module: animal
#: model:ir.ui.menu,name:animal.menu_settings
Expand Down Expand Up @@ -611,5 +605,8 @@ msgstr "Yorkshire Terrier"
msgid "colors"
msgstr "colores"

#~ msgid "SMS Delivery error"
#~ msgstr "Error de entrega de SMS"

#~ msgid "Create an animal."
#~ msgstr "Crear un animal."
6 changes: 0 additions & 6 deletions animal/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ msgstr ""

#. module: animal
#: model:ir.model.fields,help:animal.field_animal__message_has_error
#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr ""

Expand Down Expand Up @@ -499,11 +498,6 @@ msgstr ""
msgid "Rottweiler"
msgstr ""

#. module: animal
#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error
msgid "SMS Delivery error"
msgstr ""

#. module: animal
#: model:animal.color,name:animal.salt
msgid "Salt and pepper"
Expand Down
6 changes: 0 additions & 6 deletions animal/i18n/fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ msgstr ""

#. module: animal
#: model:ir.model.fields,help:animal.field_animal__message_has_error
#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr ""

Expand Down Expand Up @@ -497,11 +496,6 @@ msgstr ""
msgid "Rottweiler"
msgstr ""

#. module: animal
#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error
msgid "SMS Delivery error"
msgstr ""

#. module: animal
#: model:animal.color,name:animal.salt
msgid "Salt and pepper"
Expand Down
6 changes: 0 additions & 6 deletions animal/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ msgstr ""

#. module: animal
#: model:ir.model.fields,help:animal.field_animal__message_has_error
#: model:ir.model.fields,help:animal.field_animal__message_has_sms_error
msgid "If checked, some messages have a delivery error."
msgstr ""

Expand Down Expand Up @@ -499,11 +498,6 @@ msgstr "Utente responsabile"
msgid "Rottweiler"
msgstr ""

#. module: animal
#: model:ir.model.fields,field_description:animal.field_animal__message_has_sms_error
msgid "SMS Delivery error"
msgstr ""

#. module: animal
#: model:animal.color,name:animal.salt
msgid "Salt and pepper"
Expand Down
14 changes: 7 additions & 7 deletions animal_owner/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-10-20 04:08+0000\n"
"Last-Translator: Maxime Chambreuil <[email protected]>\n"
"PO-Revision-Date: 2024-01-13 18:33+0000\n"
"Last-Translator: Ivorra78 <[email protected]>\n"
"Language-Team: none\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.10\n"
"X-Generator: Weblate 4.17\n"

#. module: animal_owner
#: model_terms:ir.ui.view,arch_db:animal_owner.view_partner_animal_owner_form
Expand All @@ -24,7 +24,7 @@ msgstr "<span class=\"o_stat_text\"> Animales</span>"
#. module: animal_owner
#: model:ir.model,name:animal_owner.model_animal
msgid "Animal"
msgstr ""
msgstr "Animal"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_ids
Expand All @@ -41,19 +41,19 @@ msgstr "Contacto"
#: model:ir.model.fields,field_description:animal_owner.field_animal__display_name
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__display_name
msgid "Display Name"
msgstr ""
msgstr "Mostrar Nombre"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal__id
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__id
msgid "ID"
msgstr ""
msgstr "ID"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_animal____last_update
#: model:ir.model.fields,field_description:animal_owner.field_res_partner____last_update
msgid "Last Modified on"
msgstr ""
msgstr "Última Modificación el"

#. module: animal_owner
#: model:ir.model.fields,field_description:animal_owner.field_res_partner__animal_count
Expand Down
Loading

0 comments on commit b97c46c

Please sign in to comment.