Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Do NOT update manually; changes here will be overwritten by Copier
_commit: v1.21.1
_commit: v1.29
_src_path: https://github.com/OCA/oca-addons-repo-template.git
ci: GitHub
convert_readme_fragments_to_markdown: false
enable_checklog_odoo: false
generate_requirements_txt: true
github_check_license: true
github_ci_extra_env: {}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Get python version
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
- uses: actions/cache@v1
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }}
Expand Down
4 changes: 2 additions & 2 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@v3
- uses: actions/checkout@v4
- run: |
for reqfile in requirements.txt test-requirements.txt ; do
if [ -f ${reqfile} ] ; then
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Install addons and dependencies
Expand Down
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,19 @@ var/
*.egg
*.eggs

# Windows installers
*.msi

# Debian packages
*.deb

# Redhat packages
*.rpm

# MacOS packages
*.dmg
*.pkg

# Installer logs
pip-log.txt
pip-delete-this-directory.txt
Expand Down
34 changes: 23 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude: |
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|^eslint.config.cjs|^prettier.config.cjs|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
Expand Down Expand Up @@ -39,7 +39,7 @@ repos:
language: fail
files: '[a-zA-Z0-9_]*/i18n/en\.po$'
- repo: https://github.com/oca/maintainer-tools
rev: 9a170331575a265c092ee6b24b845ec508e8ef75
rev: d5fab7ee87fceee858a3d01048c78a548974d935
hooks:
# update the NOT INSTALLABLE ADDONS section above
- id: oca-update-pre-commit-excluded-addons
Expand All @@ -58,6 +58,8 @@ repos:
hooks:
- id: oca-checks-odoo-module
- id: oca-checks-po
args:
- --disable=po-pretty-format
- repo: https://github.com/myint/autoflake
rev: v1.6.1
hooks:
Expand All @@ -73,25 +75,35 @@ repos:
rev: 22.8.0
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
- repo: local
hooks:
- id: prettier
name: prettier (with plugin-xml)
entry: prettier
args:
- --write
- --list-different
- --ignore-unknown
types: [text]
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
language: node
additional_dependencies:
- "prettier@2.7.1"
- "@prettier/plugin-xml@2.2.0"
args:
- --plugin=@prettier/plugin-xml
files: \.(css|htm|html|js|json|jsx|less|md|scss|toml|ts|xml|yaml|yml)$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.24.0
- repo: local
hooks:
- id: eslint
verbose: true
name: eslint
entry: eslint
args:
- --color
- --fix
verbose: true
types: [javascript]
language: node
additional_dependencies:
- "eslint@8.24.0"
- "eslint-plugin-jsdoc@"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
Expand Down Expand Up @@ -138,7 +150,7 @@ repos:
- --header
- "# generated from manifests external_dependencies"
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
rev: 5.0.0
hooks:
- id: flake8
name: flake8
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Available addons
addon | version | maintainers | summary
--- | --- | --- | ---
[spreadsheet_dashboard_oca](spreadsheet_dashboard_oca/) | 16.0.1.3.0 | | Use OCA Spreadsheets on dashboards configuration
[spreadsheet_oca](spreadsheet_oca/) | 16.0.1.8.0 | | Allow to edit spreadsheets
[spreadsheet_oca](spreadsheet_oca/) | 16.0.1.9.1 | | Allow to edit spreadsheets
[base_view_inheritance_extension](base_view_inheritance_extension/) | 16.0.1.2.1 | | Adds more operators for view inheritance

[//]: # (end addons)
Expand Down
101 changes: 101 additions & 0 deletions spreadsheet_dashboard_oca/i18n/tr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * spreadsheet_dashboard_oca
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2025-02-25 12:06+0000\n"
"Last-Translator: İsmail Çağan Yılmaz <ismail.cagan.yilmaz@gmail.com>\n"
"Language-Team: none\n"
"Language: tr\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 5.6.2\n"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_dashboard__active
msgid "Active"
msgstr "Aktif"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_dashboard__can_edit
msgid "Can Edit"
msgstr "Düzenleyebilir"

#. module: spreadsheet_dashboard_oca
#: model_terms:ir.ui.view,arch_db:spreadsheet_dashboard_oca.spreadsheet_dashboard_tree_view
msgid "Copy"
msgstr "Kopyala"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_spreadsheet_import__dashboard_id
msgid "Dashboard"
msgstr "Kontrol Paneli"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_spreadsheet_import__dashboard_group_id
msgid "Dashboard Group"
msgstr "Kontrol Paneli Grubu"

#. module: spreadsheet_dashboard_oca
#: model_terms:ir.ui.view,arch_db:spreadsheet_dashboard_oca.spreadsheet_dashboard_tree_view
msgid "Edit"
msgstr "Düzenle"

#. module: spreadsheet_dashboard_oca
#: model:ir.model,name:spreadsheet_dashboard_oca.model_spreadsheet_spreadsheet_import
msgid "Import data to spreadsheet"
msgstr "Verileri e-tabloya aktar"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_dashboard__name
msgid "Name"
msgstr "Isim"

#. module: spreadsheet_dashboard_oca
#: model:spreadsheet.spreadsheet.import.mode,name:spreadsheet_dashboard_oca.spreadsheet_import_mode_dashboard_new_spreadsheet
msgid "New dashboard"
msgstr "Yeni kontrol paneli"

#. module: spreadsheet_dashboard_oca
#. odoo-python
#: code:addons/spreadsheet_dashboard_oca/models/spreadsheet_dashboard.py:0
#, python-format
msgid "Search operation not supported"
msgstr "Arama işlemi desteklenmiyor"

#. module: spreadsheet_dashboard_oca
#: model:ir.model,name:spreadsheet_dashboard_oca.model_spreadsheet_dashboard
msgid "Spreadsheet Dashboard"
msgstr "E-Tablo Kontrol Paneli"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_dashboard__spreadsheet_raw
msgid "Spreadsheet Raw"
msgstr "Ham E-Tablo"

#. module: spreadsheet_dashboard_oca
#: model:ir.model.fields,field_description:spreadsheet_dashboard_oca.field_spreadsheet_dashboard__spreadsheet_revision_ids
msgid "Spreadsheet Revision"
msgstr "E-Tablo Revizyonu"

#. module: spreadsheet_dashboard_oca
#. odoo-python
#: code:addons/spreadsheet_dashboard_oca/models/spreadsheet_dashboard.py:0
#, python-format
msgid "The value has to be a boolean"
msgstr "Değer boolean olmalıdır"

#. module: spreadsheet_dashboard_oca
#: model:spreadsheet.spreadsheet.import.mode,name:spreadsheet_dashboard_oca.spreadsheet_import_mode_dashboard
msgid "To dashboard"
msgstr "Kontrol paneline"

#. module: spreadsheet_dashboard_oca
#: model:spreadsheet.spreadsheet.import.mode,name:spreadsheet_dashboard_oca.spreadsheet_import_mode_dashboard_sheet
msgid "To dashboard new sheet"
msgstr "Kontrol panelinde yeni tabloya gitmek için"
2 changes: 1 addition & 1 deletion spreadsheet_oca/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Spreadsheet Oca
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:f709ae1a16584c7e8d453647d3efaf814791633d5622f432a33eaa840ab204f9
!! source digest: sha256:5812a67cf0a1e33b1a55b7996df4aef848386185ff46c0057608310fdd087015
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion spreadsheet_oca/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"name_vi_VN": "Bảng tính OCA",
"summary": """
Allow to edit spreadsheets""",
"version": "16.0.1.8.0",
"version": "16.0.1.9.1",
"license": "AGPL-3",
"author": "CreuBlanca,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/spreadsheet",
Expand Down
2 changes: 2 additions & 0 deletions spreadsheet_oca/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
class SpreadsheetDownloadXLSX(Controller):
@route("/spreadsheet/xlsx", type="http", auth="user", methods=["POST"])
def download_spreadsheet_xlsx(self, zip_name, files, **kw):
if hasattr(files, "read"):
files = files.read().decode("utf-8")
files = json.loads(files)
file_bytes = BytesIO()
with ZipFile(file_bytes, "w") as zip_file:
Expand Down
32 changes: 32 additions & 0 deletions spreadsheet_oca/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@ msgstr "Código"
msgid "Commands"
msgstr "Comandos"

#. module: spreadsheet_oca
#: model:ir.model.fields,field_description:spreadsheet_oca.field_spreadsheet_spreadsheet__company_id
msgid "Company"
msgstr ""

#. module: spreadsheet_oca
#. odoo-javascript
#: code:addons/spreadsheet_oca/static/src/spreadsheet/pivot_controller.esm.js:0
Expand All @@ -143,6 +148,11 @@ msgstr "Confirmar"
msgid "Contributors"
msgstr "Colaboradores"

#. module: spreadsheet_oca
#: model:ir.model.fields,field_description:spreadsheet_oca.field_spreadsheet_spreadsheet__contributor_group_ids
msgid "Contributors Groups"
msgstr ""

#. module: spreadsheet_oca
#: model:spreadsheet.spreadsheet.import.mode,name:spreadsheet_oca.spreadsheet_import_mode_new
msgid "Create spreadsheet"
Expand Down Expand Up @@ -282,6 +292,13 @@ msgstr "Agrupado por"
msgid "ID"
msgstr "ID"

#. module: spreadsheet_oca
#: model:ir.model.fields,help:spreadsheet_oca.field_spreadsheet_spreadsheet__company_id
msgid ""
"If set, the spreadsheet will be available only if this company is in the "
"current companies."
msgstr ""

#. module: spreadsheet_oca
#: model:ir.model.fields,field_description:spreadsheet_oca.field_spreadsheet_spreadsheet_import__import_data
msgid "Import Data"
Expand Down Expand Up @@ -476,11 +493,21 @@ msgstr "Anterior"
msgid "Quarter"
msgstr "Trimestre"

#. module: spreadsheet_oca
#: model_terms:ir.ui.view,arch_db:spreadsheet_oca.spreadsheet_spreadsheet_form_view
msgid "Read Access"
msgstr ""

#. module: spreadsheet_oca
#: model:ir.model.fields,field_description:spreadsheet_oca.field_spreadsheet_spreadsheet__reader_ids
msgid "Readers"
msgstr "Lectores"

#. module: spreadsheet_oca
#: model:ir.model.fields,field_description:spreadsheet_oca.field_spreadsheet_spreadsheet__reader_group_ids
msgid "Readers Groups"
msgstr ""

#. module: spreadsheet_oca
#. odoo-javascript
#: code:addons/spreadsheet_oca/static/src/spreadsheet/bundle/filter_panel_datasources.esm.js:0
Expand Down Expand Up @@ -644,6 +671,11 @@ msgstr ""
msgid "User"
msgstr "Usuario"

#. module: spreadsheet_oca
#: model_terms:ir.ui.view,arch_db:spreadsheet_oca.spreadsheet_spreadsheet_form_view
msgid "Write Access"
msgstr ""

#. module: spreadsheet_oca
#. odoo-javascript
#: code:addons/spreadsheet_oca/static/src/spreadsheet/bundle/filter.esm.js:0
Expand Down
Loading
Loading