diff --git a/akl_multi_tab_plugin/static/description/admin_theme.gif b/akl_multi_tab_plugin/static/description/admin_theme.gif deleted file mode 100644 index 42ceeba34..000000000 Binary files a/akl_multi_tab_plugin/static/description/admin_theme.gif and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/akl_screenshot.png b/akl_multi_tab_plugin/static/description/akl_screenshot.png deleted file mode 100644 index fdbd004dd..000000000 Binary files a/akl_multi_tab_plugin/static/description/akl_screenshot.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/anita_list.gif b/akl_multi_tab_plugin/static/description/anita_list.gif deleted file mode 100644 index f63e756a3..000000000 Binary files a/akl_multi_tab_plugin/static/description/anita_list.gif and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/anita_modeler.png b/akl_multi_tab_plugin/static/description/anita_modeler.png deleted file mode 100644 index a56f812f4..000000000 Binary files a/akl_multi_tab_plugin/static/description/anita_modeler.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/anita_switcher.png b/akl_multi_tab_plugin/static/description/anita_switcher.png deleted file mode 100644 index f7309adcc..000000000 Binary files a/akl_multi_tab_plugin/static/description/anita_switcher.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/app_icons/awsome.png b/akl_multi_tab_plugin/static/description/app_icons/awsome.png deleted file mode 100644 index f00d3e137..000000000 Binary files a/akl_multi_tab_plugin/static/description/app_icons/awsome.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/app_icons/bk.png b/akl_multi_tab_plugin/static/description/app_icons/bk.png deleted file mode 100644 index bbfae7fc1..000000000 Binary files a/akl_multi_tab_plugin/static/description/app_icons/bk.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/app_icons/fxSelection.png b/akl_multi_tab_plugin/static/description/app_icons/fxSelection.png deleted file mode 100644 index 84181e3ff..000000000 Binary files a/akl_multi_tab_plugin/static/description/app_icons/fxSelection.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/app_icons/fxTemplateWidget.png b/akl_multi_tab_plugin/static/description/app_icons/fxTemplateWidget.png deleted file mode 100644 index bbfae7fc1..000000000 Binary files a/akl_multi_tab_plugin/static/description/app_icons/fxTemplateWidget.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/app_icons/fxTheme.png b/akl_multi_tab_plugin/static/description/app_icons/fxTheme.png deleted file mode 100644 index 994cd7401..000000000 Binary files a/akl_multi_tab_plugin/static/description/app_icons/fxTheme.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/awesome_theme.gif b/akl_multi_tab_plugin/static/description/awesome_theme.gif deleted file mode 100644 index c45dd1fdd..000000000 Binary files a/akl_multi_tab_plugin/static/description/awesome_theme.gif and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/banner.png b/akl_multi_tab_plugin/static/description/banner.png deleted file mode 100644 index 618aefb0e..000000000 Binary files a/akl_multi_tab_plugin/static/description/banner.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/chrome_cHD8ozAeT9.gif b/akl_multi_tab_plugin/static/description/chrome_cHD8ozAeT9.gif deleted file mode 100644 index 95b95f249..000000000 Binary files a/akl_multi_tab_plugin/static/description/chrome_cHD8ozAeT9.gif and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/icon.png b/akl_multi_tab_plugin/static/description/icon.png deleted file mode 100644 index e6aacba15..000000000 Binary files a/akl_multi_tab_plugin/static/description/icon.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/images/icon.png b/akl_multi_tab_plugin/static/description/images/icon.png deleted file mode 100644 index 96e9c888e..000000000 Binary files a/akl_multi_tab_plugin/static/description/images/icon.png and /dev/null differ diff --git a/akl_multi_tab_plugin/static/description/index.html b/akl_multi_tab_plugin/static/description/index.html deleted file mode 100644 index a5743aa41..000000000 --- a/akl_multi_tab_plugin/static/description/index.html +++ /dev/null @@ -1,110 +0,0 @@ -
- -
- -
-
-
-

- Akl multi tab pulgin is an advanced module that allows you to create multiple tabs in your Odoo backend. -

-
-
-
- -

(Current Release V16.0.0.5 -- 2023.04.22)

- -
-
-
-

Overview

-
- - - -
-
- - -

Our other products, Just click the image to visit

- -
-
-

- Admin Theme -

-
- - - -
-
- -
-
-
-

Awesome theme

-

- Awesome theme is a theme to enhance your product -

- - - -
-
- - -
-
-

- rubbish Modeler -

-
- - - -
-
- -
-
-

- rubbish List -

-
- - - -
-
- - -
-
-

- Changelog -

-
-
- -

- 16.0.0.1-Feb 1, 2023 -

-
    -
  • - update -
    first version
    -
  • -
-
-
-
- -
-
\ No newline at end of file diff --git a/app_odoo_customize/static/description/app_web_enterprise_03.jpg b/app_odoo_customize/static/description/app_web_enterprise_03.jpg deleted file mode 100644 index 904ea3266..000000000 Binary files a/app_odoo_customize/static/description/app_web_enterprise_03.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/banner.gif b/app_odoo_customize/static/description/banner.gif deleted file mode 100644 index 3303e8f9a..000000000 Binary files a/app_odoo_customize/static/description/banner.gif and /dev/null differ diff --git a/app_odoo_customize/static/description/banner.png b/app_odoo_customize/static/description/banner.png deleted file mode 100644 index 9a7b359f8..000000000 Binary files a/app_odoo_customize/static/description/banner.png and /dev/null differ diff --git a/app_odoo_customize/static/description/cnreadme.jpg b/app_odoo_customize/static/description/cnreadme.jpg deleted file mode 100644 index cca8d7a9c..000000000 Binary files a/app_odoo_customize/static/description/cnreadme.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/icon.png b/app_odoo_customize/static/description/icon.png deleted file mode 100644 index 4158eacee..000000000 Binary files a/app_odoo_customize/static/description/icon.png and /dev/null differ diff --git a/app_odoo_customize/static/description/index.html b/app_odoo_customize/static/description/index.html deleted file mode 100644 index f62a48ca1..000000000 --- a/app_odoo_customize/static/description/index.html +++ /dev/null @@ -1,329 +0,0 @@ - - - - - - -
-

odoo 18 Tweak,Ai Employee,Boost,Customize All in One.

-

Customize,UI,Boost,Security,Data,Development Enhance

-

Get Odoo 18 Support(Master Branch of Odoo) in github

-

https://github.com/guohuadeng/app-odoo/tree/18.0

-

已升级Odoo18支持,odoo优化48项大全,oem去Logo,odoo提速与数据清理

-
- - -
-
-
-

This is a Long Term Support Apps.Update: v18.24.08.20

-
-
    -
  • 1. Deletes Odoo label in footer
  • -
  • 2. Replaces "Odoo" in Windows title
  • -
  • 3. Customize Documentation, Support, About links and title in usermenu
  • -
  • 4. Adds "Developer mode" link to the top right-hand User Menu.
  • -
  • 5. Adds Quick Language Switcher to the top right-hand User Menu.
  • -
  • 6. Adds Country flags to the top right-hand User Menu.
  • -
  • 7. Adds English and Chinese user documentation access to the top right-hand User Menu.
  • -
  • 8. Adds developer documentation access to the top right-hand User Menu.
  • -
  • 9. Customize "My odoo.com account" button
  • -
  • 10. Standalone setting panel, easy to setup.
  • -
  • 11. Provide 236 country flags.
  • -
  • 12. Multi-language Support.
  • -
  • 13. Change Powered by Odoo in login screen.(Please change '../views/app_odoo_customize_view.xml' #15)
  • -
  • 14. Quick delete test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Project/Base Models.
  • -
  • 15. Reset All the Sequence to beginning of 1: SO/PO/MO/Invoice...
  • -
  • 16. Fix odoo reload module translation bug while enable english language
  • -
  • 17. Stop Odoo Auto Subscribe(Performance Improve)
  • -
  • 18. Show/Hide Author and Website in Apps Dashboard (odoo 11 only)
  • -
  • 19. One Click to clear all data (Sometime pls click twice)
  • -
  • 20. Show quick upgrade in app dashboard, click to show module info not go to odoo.com
  • -
  • 21. Can clear and reset account chart. Be cautious.
  • -
  • 22. Update online manual and developer document to odoo18/17.
  • -
  • 23. Add reset or clear website blog data
  • -
  • 24. Customize Odoo Native Module(eg. Enterprise) Url
  • -
  • 25. Add remove expense data
  • -
  • 26. Add multi uninstall modules
  • -
  • 27. Add odoo boost modules link.
  • -
  • 28. Easy Menu manager.
  • -
  • 29. Apps version compare. Add Install version in App list. Add Local updatable filter in app list.
  • -
  • 30. 1 key export app translate file like .po file.
  • -
  • 32. Fix odoo bug of complete name bug of product category and stock location..
  • -
  • 33. Add Demo Ribbon Setting.
  • -
  • 34. Add Remove all quality data.
  • -
  • 35. Fixed for odoo 14.
  • -
  • 36. Add refresh translate for multi module.
  • -
  • 37. Easy noupdate manage for External Identifiers(xml_id).
  • -
  • 38. Add Draggable Dialog enable.
  • -
  • 39. Only erp manager can see debug menu.
  • -
  • 40. Fix support for enterprise version.
  • -
  • 41. Fix odoo bug, when click Preferences menu not hide in mobile.
  • -
  • 42. Add menu navbar setup for top or bottom. navigator footer support.
  • -
  • 43. Check to only Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.
  • -
  • 44. Check to stop subscribe and follow. This to make odoo speed up.
  • -
  • 45. Add addons path info to module.
  • -
  • 46. Add Help documentation anywhere. easy get help for any odoo operation or action.
  • -
  • 47. Add ai robot app integration. Use Ai as your employee.
  • -
  • 48. Add menu debug information of action and xml id.
  • -
-
-

If you want to change the login page.

-

Please modify the file \views\app_odoo_customize_views.xml

-
-

- This module can help to white label the Odoo. - Also helpful for training and support for your odoo end-user.
- The user can get the help document just by one click. -

-
-
-
- -
-
-

Help Document Anywhere

-

Get Help Documentation on current odoo operation or topic.

-
- -
-

You can use you company logo for the document with you help document

-
- -
-

You can set extra help doc for any addons

-
- -
-

Must in development mode

-
- -
-
-
- -
-
-

New Ai Center Support

-

You can install Ai service like chatgpt and google bard and azure openai.

-
- -
-
-
- -
-
-

Odoo Customize(Debranding Title,Language,Documentation,Quick Debug)

-
-
- -
-
-
-

Multi-language support: Chinese ready

-
-
- -
- -
- -
-
- -
-
-

How to use: Go to Settings -> 天投集团 -> Customize Boost Odoo

-
-
- -
-
-
- -
-
-

OEM White label your odoo

-

Replaces "Odoo" in Windows title, Deletes Odoo label in footer, Customize all odoo link to my link

-
- -
-
-
- -
-
-

Mobile Enhance. Add menu navbar setup for top or bottom. navigator footer support.

-

Easy set navbar on bottom or top.

-
- -
-
-
- -
-
-

odoo SECURITY AND BOOST

-

Eonly Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.stop subscribe and follow. This to make odoo speed up.

-
- -
-
-
- -
-
-

Add quick operation for odoo modules.

-

Refresh translate. Upgrade, Uninstall, help on topic

-
- -
-

Easy mass module operation

-
- -
-

Easy Export translate follow your language

-
- -
-
-
-
-
-

Add Draggable and sizeable Dialog enable.

-
- -
-
-
- -
-
-

Show/Hide Author and Website in Apps Dashboard

-
-

Before

-
- -
-
-

After uncheck "Show Author in Apps Dashboard"

-
- -
-
-
- -
-
-

Show quick upgrade in app dashboard, click to show module info not go to odoo.com

-
-

No more redirect to odoo.com

-
- -
-
-
- -
-
-

Setup more flags: just rename the flag pic to locale code of the country

-

You can find the pictures in "\app-odoo\app_odoo_customize\static\src\img\flags"

-
-
- -
-
-
- -
-
-

Customize Extra enterprise Module Url(eg. Enterprise).

-
-
- -
-
-
- -
-
-

Quick Delete test Data.

-

You can quickly delete all the test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Message/Workflow etc.

-
-
- -
-
-
-
- -
-
-

Multi-language Support..

-

-
- -
-
- -

- Also you can - - get more powerful odoo apps from us. - . like [superbar widget] -

-
- - - -
-
-

This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher, - Online Documentation Access,Quick Data Clear.

-

Support odoo 18,17,16,15,14,13,12,11,10,9. Including community and enterprise version.

-
-
- -
-
-
-

Technical Help & Support

-
-
-
-

- For any type of technical help & support requests, Feel free to contact us

- - odoo@china.com -

- Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

- - 300883@qq.com -
-
-

- Visit our website for more support.

-

https://oa.thtzjt.com/

-
-
-
-
- \ No newline at end of file diff --git a/app_odoo_customize/static/description/index_cn.html b/app_odoo_customize/static/description/index_cn.html deleted file mode 100644 index 6bb68135d..000000000 --- a/app_odoo_customize/static/description/index_cn.html +++ /dev/null @@ -1,415 +0,0 @@ - - - - - -
-

odoo 17 Tweak,Ai Employee,Boost,Customize All in One.

-

Customize,UI,Boost,Security,Data,Development Enhance

-

Get Odoo 18 Support(Master Branch of Odoo) in github

-

https://github.com/guohuadeng/app-odoo/tree/18.0

-

已升级Odoo18支持,odoo优化48项大全,oem去Logo,odoo提速与数据清理

-
- -
-
-
-

- 如果你使用企业版,请获取我们针对企业版的定制优化模块
- - 从odoo官方应用商店获取 "app_web_enterprise" 应用模块 - -

-

这是一个长期更新维护的odoo应用模块

-
-

Update: v24.03.13

-

安全优化,避免越权操作

-

47. 增加 Ai 如 ChatGpt 或百度ai的快速安装选项.

-

48. 增加菜单Debug功能.

-

Update: v16.24.01.11

-

应用界面升级,整合进odoo通用设置

-

46. 增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.

-

45. 为应用模块增加模块路径信息

-

Update: v16.23.08.15

-

44. 可配置停用自动用户订阅功能,这会提速odoo,减少资源消耗

-

43. 可设置只允许管理员进入开发者模式,不可在url中直接debut=1来调试

-

Update: v16.23.07.25

-

42. 可设置导航栏在上方还是下方,分开桌面与移动端.

-

Update: v16.23.07.14

-

41. 修正odoo原生移动端菜单bug,点击个人设置时,原菜单不隐藏等

-

Update: v16.23.05.04

-

Fix bug in mobile view in popup menu.

-

Update: v16.23.02.17

-

Fix odoo Debug and Debug Assets.

-

Update: v16.23.02.06

-

Fix odoo ribbon.

-

Fix odoo translate update.

-

Update: v16.22.10.21

-

Add odoo16 support.

-

Update: v15.21.10.21

-

odoo15 remove data optimization. Easy and fast remove big data.

-

Update: v15.22.03.15

-

Add odoo15 supported.

-

Update: v13.21.08.04

-

40. 增强对企业版的支持

-

39. 只有系统管理员可以操作快速debug

-

38. 对话框可拖拽,可缩放,自动大屏优化

-

37. noupdate字段的快速管理,主要针对 xml_id.

-

Update: v14.21.03.31

-

Account date reset, and account chart reset support multi company reset.

-

Update: v14.21.03.03

-

Fixed odoo Title.

-

Update: v14.20.12.29

-

36. 可为多个模块强制更新翻译

-

Update: v14.20.08.29

-

35. 优化至odoo14适用

-

34. Add Remove all quality data(for odoo Enterprise)

-

33. Add Demo Ribbon Setting.

-

32. Fix odoo bug of complete name bug of product category and stock location.

-

Update: v13.20.08.29

-

36. Add odoo 14 support.

-

Update: v13.20.04.12

-

31. Show or hide odoo Referral in the top menu.

-

Update: v13.20.03.23

-

30. 1 key export app translate file like .po file.

-

Update: v13.20.02.25

-

28. Easy Menu manager.

-

29. Add Install version in App list. Add Local updatable filter in app list.

-

Update: v13.19.10.19

-

27. Add Odoo 13 support, all function add

-

Update: v12.19.04.30

-

26. Add multi uninstall modules

-

Update: v12.19.04.18

-

25. Add remove expense data

-

Update: v12.19.04.17

-

Add Customize Odoo Native Module(eg. Enterprise) Url

-

Update: v12.19.3.15

-

Add reset or clear website blog data

-

Update: v12.19.3.12

-

Optimize chinese translate and document.

-

Fix bug: Data reset.

-

Update: v12.19.1.20

-

Fix bug: Save config error.

-

Update: v12.19.1.05

-

Fix bug: If you install Muk moudle, odooapp customize would pop error like "attachment_location". Sometime you need to uninstall this app and restart odoo, install again to take affect.

-

Update: v12.0.12.25

-

add 22. Update online manual and developer document to odoo17.

-

Update: v12.0.11.08

-

Add 21. Reset Account Chart.

-

Update: v12.0.9.30

-

Add 20. Show quick upgrade in app dashboard

-

Update: v12.0.9.25

-

Now ready for Odoo 13,12, please email to me. guohuadeng@hotmail.com

-

Update: v12.0.7.23

-

Fix Login bug when install website.

-

Add 19. One Click to clear all data (Sometime pls click twice)

-

Add 18. Show/Hide Author and Website in Apps Dashboard

-

More Powerful addons:

-

- thtzjt.com Awesome Odoo - Addons -

-
-

支持Odoo 18,17,16,15,14,13,12, 11, 10, 9 版本,社区版企业版通用

-
    -
  • 1. 删除菜单导航页脚的 Odoo 标签
  • -
  • 2. 将弹出窗口中 "Odoo" 设置为自定义名称
  • -
  • 3. 自定义用户菜单中的 Documentation, Support, About 的链接
  • -
  • 4. 在用户菜单中增加快速切换开发模式
  • -
  • 5. 在用户菜单中增加快速切换多国语言
  • -
  • 6. 对语言菜单进行美化,设置国旗图标
  • -
  • 7. 在用户菜单中增加中/英文用户手册,可以不用翻墙加速了
  • -
  • 8. 在用户菜单中增加开发者手册,含python教程,jquery参考,Jinja2模板,PostgresSQL参考
  • -
  • 9. 在用户菜单中自定义"My odoo.com account"
  • -
  • 10. 单独设置面板,每个选项都可以自定义
  • -
  • 11. 提供236个国家的国旗文件(部份需要自行设置文件名)
  • -
  • 12. 多语言版本
  • -
  • 13. 自定义登陆界面中的 Powered by Odoo
  • -
  • 14. 快速删除测试数据,支持模块包括:销售/POS门店/采购/生产/库存/会计/项目/消息与工作流等.
  • -
  • 15. 将各类单据的序号重置,从1开始,包括:SO/PO/MO/Invoice 等
  • -
  • 16. 修复odoo启用英文后模块不显示中文的Bug
  • -
  • 17. 可停用odoo自动订阅功能,避免“同样对象关注2次”bug,同时提升性能
  • -
  • 18. 显示/隐藏应用的作者和网站-在应用安装面板中
  • -
  • 19. 一键清除所有数据(视当前数据情况,有时需点击2次)
  • -
  • 20. 在应用面板显示快速升级按键,点击时不会导航至 odoo.com
  • -
  • 21. 清除并重置会计科目表
  • -
  • 22. 全新升级将odoo12用户及开发手册导航至国内网站,或者自己定义的网站
  • -
  • 23. 增加清除网站数据功能
  • -
  • 24. 自定义 odoo 原生模块跳转的url(比如企业版模块)
  • -
  • 25. 增加删除费用报销数据功能
  • -
  • 26. 增加批量卸载模块功能
  • -
  • 27. 增加odoo加速功能
  • -
  • 28. 快速管理顶级菜单
  • -
  • 29. App版本比较,快速查看可本地更新的模块
  • -
  • 30. 一键导出翻译文件 po
  • -
  • 31. 显示或去除 odoo 推荐
  • -
  • 32. 增加修复品类及区位名的操作
  • -
  • 33. 增加 Demo 的显示设置
  • -
  • 34. 增加清除质检数据
  • -
  • 35. 优化至odoo14适用
  • -
  • 36. 可为多个模块强制更新翻译
  • -
  • 37. noupdate字段的快速管理,主要针对 xml_id
  • -
  • 38. 对话框可拖拽,可缩放,自动大屏优化
  • -
  • 39. 只有系统管理员可以操作快速debug
  • -
  • 40. 增强对企业版的支持
  • -
  • 41. 修正odoo原生移动端菜单bug,点击个人设置时,原菜单不隐藏等
  • -
  • 42. 可设置导航栏在上方还是下方,分开桌面与移动端.
  • -
  • 43. 可设置只允许管理员进入开发者模式,不可在url中直接debut=1来调试
  • -
  • 44. 可配置停用自动用户订阅功能,这会提速odoo,减少资源消耗
  • -
  • 45. 为应用模块增加模块路径信息
  • -
  • 46. 增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.
  • - -
-

此模块用于 OEM 你的 odoo,增加自己公司的 Logo 相关信息及版权相关信息。 -
- 便于快速开发、快速培训、可速查找odoo帮助文档。也可以方便的进行odoo数据清理与重置。 -

-
-
-
- -
-
-

odoo系统内快速帮助

-

增加快速帮助文档,可以在任意操作中获取相关的 odoo 帮助.

-
- -
-

自动设置文章Logo为公司Logo

-
- -
-

可手动设置模块帮助链接

-
- -
-

注意必须在开发者模式

-
- -
-
-
- -
-
-

Ai服务中心支持

-

你可以安装最新的 ChatGPT 或者 微软、谷歌等Ai.

-
- -
-
-
- -
-
-

Odoo 快速自定义,OEM改造,快速Debug、语言切换等全面增强

-
-
- -
-
-
-

多语言支持,中文已处理

-
-
- -
- -
-
- -
-
-

如何使用: 转到 设置 -> 天投集团 -> 定制与增强

-
-
- -
-
-
- -
-
-

OEM White label your odoo

-

Replaces "Odoo" in Windows title, Deletes Odoo label in footer, Customize all odoo link to my link

-
- -
-
-
- -
-
-

Mobile Enhance. Add menu navbar setup for top or bottom. navigator footer support.

-

Easy set navbar on bottom or top.

-
- -
-
-
- -
-
-

odoo SECURITY AND BOOST

-

Eonly Debug / Debug Assets for Odoo Admin. Deny debug from url for other user.stop subscribe and follow. This to make odoo speed up.

-
- -
-
-
- -
-
-

Add quick operation for odoo modules.

-

Refresh translate. Upgrade, Uninstall, help on topic

-
- -
-

Easy mass module operation

-
- -
-

Easy Export translate follow your language

-
- -
-
-
-
-
-

Add Draggable and sizeable Dialog enable.

-
- -
-
-
- -
-
-

Show/Hide Author and Website in Apps Dashboard

-
-

Before

-
- -
-
-

After uncheck "Show Author in Apps Dashboard"

-
- -
-
-
- -
-
-

Show quick upgrade in app dashboard, click to show module info not go to odoo.com

-
-

No more redirect to odoo.com

-
- -
-
-
- -
-
-

Setup more flags: just rename the flag pic to locale code of the country

-

You can find the pictures in "\app-odoo\app_odoo_customize\static\src\img\flags"

-
-
- -
-
-
- -
-
-

Customize Extra enterprise Module Url(eg. Enterprise).

-
-
- -
-
-
- -
-
-

Quick Delete test Data.

-

You can quickly delete all the test data in Apps: Sales/POS/Purchase/MRP/Inventory/Accounting/Message/Workflow etc.

-
-
- -
-
-
-
- -
-
-

Multi-language Support..

-

-
- -
-
- -

- Also you can - - get more powerful odoo apps from us. - . like [superbar widget] -

-
- - - -
-
-

This moduld allows user to quickly customize and debranding Odoo. Quick debug, Language Switcher, - Online Documentation Access,Quick Data Clear.

-

Support Odoo 17,16,15,14,13, 12, 11, 10, 9. Including community and enterprise version.

-
-
- -
-
-
-

Technical Help & Support

-
-
-
-

- For any type of technical help & support requests, Feel free to contact us

- - odoo@china.com -

- Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

- - 300883@qq.com -
-
-

- Visit our website for more support.

-

https://oa.thtzjt.com/

-
-
-
-
- \ No newline at end of file diff --git a/app_odoo_customize/static/description/set0.jpg b/app_odoo_customize/static/description/set0.jpg deleted file mode 100644 index 74588b304..000000000 Binary files a/app_odoo_customize/static/description/set0.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set1.jpg b/app_odoo_customize/static/description/set1.jpg deleted file mode 100644 index 1d1f1470a..000000000 Binary files a/app_odoo_customize/static/description/set1.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set18-1.jpg b/app_odoo_customize/static/description/set18-1.jpg deleted file mode 100644 index 56c401779..000000000 Binary files a/app_odoo_customize/static/description/set18-1.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set18-2.jpg b/app_odoo_customize/static/description/set18-2.jpg deleted file mode 100644 index 32028d74e..000000000 Binary files a/app_odoo_customize/static/description/set18-2.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set19.jpg b/app_odoo_customize/static/description/set19.jpg deleted file mode 100644 index 8bea0b628..000000000 Binary files a/app_odoo_customize/static/description/set19.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set2.jpg b/app_odoo_customize/static/description/set2.jpg deleted file mode 100644 index 411720cd0..000000000 Binary files a/app_odoo_customize/static/description/set2.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set20.jpg b/app_odoo_customize/static/description/set20.jpg deleted file mode 100644 index 2f6843dc0..000000000 Binary files a/app_odoo_customize/static/description/set20.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set21.jpg b/app_odoo_customize/static/description/set21.jpg deleted file mode 100644 index b86c19e3c..000000000 Binary files a/app_odoo_customize/static/description/set21.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/set3.jpg b/app_odoo_customize/static/description/set3.jpg deleted file mode 100644 index b60a19890..000000000 Binary files a/app_odoo_customize/static/description/set3.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setai1.jpg b/app_odoo_customize/static/description/setai1.jpg deleted file mode 100644 index a55c6a470..000000000 Binary files a/app_odoo_customize/static/description/setai1.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setboost.jpg b/app_odoo_customize/static/description/setboost.jpg deleted file mode 100644 index 748f5dd67..000000000 Binary files a/app_odoo_customize/static/description/setboost.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setcn1.jpg b/app_odoo_customize/static/description/setcn1.jpg deleted file mode 100644 index 3bd173963..000000000 Binary files a/app_odoo_customize/static/description/setcn1.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setcn2.jpg b/app_odoo_customize/static/description/setcn2.jpg deleted file mode 100644 index 0aec26d38..000000000 Binary files a/app_odoo_customize/static/description/setcn2.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setcn3.jpg b/app_odoo_customize/static/description/setcn3.jpg deleted file mode 100644 index 003deab6e..000000000 Binary files a/app_odoo_customize/static/description/setcn3.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setdialog.gif b/app_odoo_customize/static/description/setdialog.gif deleted file mode 100644 index 5295a0467..000000000 Binary files a/app_odoo_customize/static/description/setdialog.gif and /dev/null differ diff --git a/app_odoo_customize/static/description/sethelp1.jpg b/app_odoo_customize/static/description/sethelp1.jpg deleted file mode 100644 index 246e7007b..000000000 Binary files a/app_odoo_customize/static/description/sethelp1.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/sethelp2.jpg b/app_odoo_customize/static/description/sethelp2.jpg deleted file mode 100644 index 17d99f0a2..000000000 Binary files a/app_odoo_customize/static/description/sethelp2.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/sethelp3.jpg b/app_odoo_customize/static/description/sethelp3.jpg deleted file mode 100644 index e796ca4ae..000000000 Binary files a/app_odoo_customize/static/description/sethelp3.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/sethelp4.jpg b/app_odoo_customize/static/description/sethelp4.jpg deleted file mode 100644 index 73d997569..000000000 Binary files a/app_odoo_customize/static/description/sethelp4.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setmodule1.jpg b/app_odoo_customize/static/description/setmodule1.jpg deleted file mode 100644 index 9f83b81b1..000000000 Binary files a/app_odoo_customize/static/description/setmodule1.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setmodule2.jpg b/app_odoo_customize/static/description/setmodule2.jpg deleted file mode 100644 index 46f5aabb3..000000000 Binary files a/app_odoo_customize/static/description/setmodule2.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setmodule3.jpg b/app_odoo_customize/static/description/setmodule3.jpg deleted file mode 100644 index 4c1e70bd3..000000000 Binary files a/app_odoo_customize/static/description/setmodule3.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/setnav.jpg b/app_odoo_customize/static/description/setnav.jpg deleted file mode 100644 index 35b0e4ece..000000000 Binary files a/app_odoo_customize/static/description/setnav.jpg and /dev/null differ diff --git a/app_odoo_customize/static/description/switch_lang_menu/switch_lang_menu.js b/app_odoo_customize/static/description/switch_lang_menu/switch_lang_menu.js deleted file mode 100644 index 186cbab30..000000000 --- a/app_odoo_customize/static/description/switch_lang_menu/switch_lang_menu.js +++ /dev/null @@ -1,53 +0,0 @@ -/** @odoo-module **/ - -import { Dropdown } from "@web/core/dropdown/dropdown"; -import { DropdownItem } from "@web/core/dropdown/dropdown_item"; -import { useService } from "@web/core/utils/hooks"; -import { registry } from "@web/core/registry"; -import { browser } from "@web/core/browser/browser"; -import { symmetricalDifference } from "@web/core/utils/arrays"; - -import { Component, useState } from "@odoo/owl"; - -export class SwitchLangMenu extends Component { - setup() { - this.LangService = useService("Lang"); - this.currentLang = this.LangService.currentLang; - this.state = useState({ langToSet: [] }); - } - - setLang(LangId) { - this.state.langToSet = symmetricalDifference(this.state.langToSet, [ - LangId, - ]); - browser.clearTimeout(this.toggleTimer); - this.toggleTimer = browser.setTimeout(() => { - this.LangService.set2Lang("toggle", ...this.state.langToSet); - }, this.constructor.toggleDelay); - } - - logIntoLang(LangId) { - browser.clearTimeout(this.toggleTimer); - this.LangService.set2Lang("loginto", LangId); - } - - get selectedCompanies() { - return symmetricalDifference( - this.LangService.allowedLangIds, - this.state.langToSet - ); - } -} -SwitchLangMenu.template = "web.SwitchLangMenu"; -SwitchLangMenu.components = { Dropdown, DropdownItem }; -SwitchLangMenu.toggleDelay = 1000; - -export const systrayItem = { - Component: SwitchLangMenu, - isDisplayed(env) { - const { availableCompanies } = env.services.Lang; - return Object.keys(availableCompanies).length > 1; - }, -}; - -registry.category("systray").add("SwitchLangMenu", systrayItem, { sequence: 1 }); diff --git a/app_odoo_customize/static/description/switch_lang_menu/switch_lang_menu.xml b/app_odoo_customize/static/description/switch_lang_menu/switch_lang_menu.xml deleted file mode 100644 index 37a3efae4..000000000 --- a/app_odoo_customize/static/description/switch_lang_menu/switch_lang_menu.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - -
-
- - - - -
- -
- - - - -
-
-
-
- -
diff --git a/app_web_widget_ztree/static/description/banner.gif b/app_web_widget_ztree/static/description/banner.gif deleted file mode 100644 index d67a2bdb2..000000000 Binary files a/app_web_widget_ztree/static/description/banner.gif and /dev/null differ diff --git a/app_web_widget_ztree/static/description/banner.png b/app_web_widget_ztree/static/description/banner.png deleted file mode 100644 index bc8118fab..000000000 Binary files a/app_web_widget_ztree/static/description/banner.png and /dev/null differ diff --git a/app_web_widget_ztree/static/description/banner1.png b/app_web_widget_ztree/static/description/banner1.png deleted file mode 100644 index 9c2b888f4..000000000 Binary files a/app_web_widget_ztree/static/description/banner1.png and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo1-1.jpg b/app_web_widget_ztree/static/description/demo1-1.jpg deleted file mode 100644 index 477ebc05d..000000000 Binary files a/app_web_widget_ztree/static/description/demo1-1.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo1.jpg b/app_web_widget_ztree/static/description/demo1.jpg deleted file mode 100644 index 2b5d329e3..000000000 Binary files a/app_web_widget_ztree/static/description/demo1.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo11.jpg b/app_web_widget_ztree/static/description/demo11.jpg deleted file mode 100644 index 72ad356bc..000000000 Binary files a/app_web_widget_ztree/static/description/demo11.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo12.jpg b/app_web_widget_ztree/static/description/demo12.jpg deleted file mode 100644 index ecc581860..000000000 Binary files a/app_web_widget_ztree/static/description/demo12.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo2.jpg b/app_web_widget_ztree/static/description/demo2.jpg deleted file mode 100644 index 121df60cd..000000000 Binary files a/app_web_widget_ztree/static/description/demo2.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo3-1.jpg b/app_web_widget_ztree/static/description/demo3-1.jpg deleted file mode 100644 index d86177b70..000000000 Binary files a/app_web_widget_ztree/static/description/demo3-1.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo3-2.jpg b/app_web_widget_ztree/static/description/demo3-2.jpg deleted file mode 100644 index 64db2359f..000000000 Binary files a/app_web_widget_ztree/static/description/demo3-2.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo3.jpg b/app_web_widget_ztree/static/description/demo3.jpg deleted file mode 100644 index 2c96d077f..000000000 Binary files a/app_web_widget_ztree/static/description/demo3.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo31.jpg b/app_web_widget_ztree/static/description/demo31.jpg deleted file mode 100644 index 9d9209c99..000000000 Binary files a/app_web_widget_ztree/static/description/demo31.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo32.jpg b/app_web_widget_ztree/static/description/demo32.jpg deleted file mode 100644 index f34ea97ec..000000000 Binary files a/app_web_widget_ztree/static/description/demo32.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo33.jpg b/app_web_widget_ztree/static/description/demo33.jpg deleted file mode 100644 index dd075614d..000000000 Binary files a/app_web_widget_ztree/static/description/demo33.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo34.jpg b/app_web_widget_ztree/static/description/demo34.jpg deleted file mode 100644 index 825ca2b1a..000000000 Binary files a/app_web_widget_ztree/static/description/demo34.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo35.jpg b/app_web_widget_ztree/static/description/demo35.jpg deleted file mode 100644 index 9d06ce733..000000000 Binary files a/app_web_widget_ztree/static/description/demo35.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo36.jpg b/app_web_widget_ztree/static/description/demo36.jpg deleted file mode 100644 index eb955b2b9..000000000 Binary files a/app_web_widget_ztree/static/description/demo36.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo37.jpg b/app_web_widget_ztree/static/description/demo37.jpg deleted file mode 100644 index a443ce8ca..000000000 Binary files a/app_web_widget_ztree/static/description/demo37.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo4.jpg b/app_web_widget_ztree/static/description/demo4.jpg deleted file mode 100644 index 42033aec9..000000000 Binary files a/app_web_widget_ztree/static/description/demo4.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo41.jpg b/app_web_widget_ztree/static/description/demo41.jpg deleted file mode 100644 index bf7364ec6..000000000 Binary files a/app_web_widget_ztree/static/description/demo41.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo5.jpg b/app_web_widget_ztree/static/description/demo5.jpg deleted file mode 100644 index c4fde2989..000000000 Binary files a/app_web_widget_ztree/static/description/demo5.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo6.jpg b/app_web_widget_ztree/static/description/demo6.jpg deleted file mode 100644 index 4203cc728..000000000 Binary files a/app_web_widget_ztree/static/description/demo6.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/demo_bom.jpg b/app_web_widget_ztree/static/description/demo_bom.jpg deleted file mode 100644 index 7907893e6..000000000 Binary files a/app_web_widget_ztree/static/description/demo_bom.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/icon.png b/app_web_widget_ztree/static/description/icon.png deleted file mode 100644 index c95d817e3..000000000 Binary files a/app_web_widget_ztree/static/description/icon.png and /dev/null differ diff --git a/app_web_widget_ztree/static/description/index.html b/app_web_widget_ztree/static/description/index.html deleted file mode 100644 index 7eaaae76d..000000000 --- a/app_web_widget_ztree/static/description/index.html +++ /dev/null @@ -1,348 +0,0 @@ - - - - -
-

App ztree widget,Hierarchy Parent tree in m2o select. Hierarchy Chart selector

-

树状视图m2o及结构图widget套件,用于Odoo所有应用以展现树状层级结构

-
- -
-
-

-

Very useful for parent child relationship, like product category, stock location, hr department

-

Buy - - this 1 app, Hierarchy Parent tree in m2o select and Chart in Form View. - - in odoo Store. Get - - free 20+ more related apps. - -

-
-
-
-
-
-
-

Update: v18.0.24.12.18

-

Support better for odoo 18 and OWL rule

-

Update: v16.24.12.18

-

Optimize style

- Key features: -
    -
  • - - 1. M2o Select with Hierarchy parent/child dropdown -
  • -
  • - - 2. zTree widget for any app in odoo. MRP, Account, User, Product Category, Stock location, etc... -
  • -
  • - - 3. Easy use in customize 3rd app. Easy to make custom parent children tree. -
  • -
  • - - 4. Hierarchy selector out-of-box with all apps: -
  • -
  • - - 5. Hierarchy Chart widget zChart. easy with all apps. MRP, Account, User, Product Category, Stock location, etc... -
  • -
  • - - 6. We provide 10+ more free Demo for you can use it in anywhere in odoo. -
  • -
-
- -
-
-
- -
-
-

Buy this apps, get Extra bonus apps, App zTree widget, Hierarchy Parent tree in m2o select

-

Ready for product category Hierarchy Parent tree in m2o select

-
- -
-

Ready for Stock Location Hierarchy Parent tree in m2o select

-
- -
-

Ready for Hr Department Hierarchy Parent tree in m2o select

-
- -
-
-
- -
-
-

The Feature Including in this module.

-

Use in product.

-
- -
-
-
- -
-
-

Free to Use in product category.

-
- -
-

Also Show product category in Hierarchy Char

-
- -
-
-
- -
-
-

Free to Use in Account multi level COA

-
- -
-
-
- -
-
-

Free to Use in stock location.

-
- -
-

Support Chart view

-
- -
-
-
- -
-
-

Free to Use in MRP Workcenter.

-
- -
-
-
- -
-
-

Use in hr department.

-
- -
-
-
- -
-
-

Use in hr employee.

-
- -
-
-
- -
-
-

 

-

Product category Chart Hierarchy

-
- -
-
-
- -
-
-

Pay(Not Free) Multi-Level Bom Chart zChart hierarchy

-

快速在统一界面中管理多层级BoM

-
- -
-
- -
-
-
- -
-
-

 

-

Stock Location Chart Hierarchy

-
- -
-
-
- -
-
-

 

-

HR Department Chart Hierarchy

-
- -
-

HR Employee Chart Hierarchy (this is include in odoo)

-
- -
-
-
-
-
-

Pay(Not Free) Multi-Level Account zChart Hierarchy

-

快速在统一界面中管理多层级会计科目

-
- -
-
-
- -
-
-

 

-

User Alliance Distribution Multi level

-
- -
-
-
- -
-
-

 

-

MRP Production Chart Hierarchy

-
- -
-
-
- -
-
-

Easy to setup just use widget='ztree_select'. and widget='ztree_chart' like this

-
- -
-


Use follow param to setup widget:

-

ztree_parent_key: --the key field of parent children relation.

-

ztree_expend_level: --how many level to expend the tree for initialize. Default is 2

-

limit: --how many record to show ztree. Default is 16

-

order: --the field to order by

-
-
- -
-
-

 

-

Extend features - (Need extra module, Click to get)

-

Advance Search Sidebar with Hierarchy Parent Children Tree

-
- -
-
-
- -
-
-
-

Technical Help & Support

-
-
-
-

- For any type of technical help & support requests, Feel free to contact us

- - odoo@china.com -

- Via QQ: 300883 (App user would not get QQ or any other IM support. Only for odoo project customize.)

- - 300883@qq.com -
-
-

- Visit our website for more support.

-

https://www.odooai.cn

-
-
-
-
- - \ No newline at end of file diff --git a/app_web_widget_ztree/static/description/index_cn.html b/app_web_widget_ztree/static/description/index_cn.html deleted file mode 100644 index 469a54b27..000000000 --- a/app_web_widget_ztree/static/description/index_cn.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - -
-
-

App ztree小插件,层次父树在m2o选择

-

非常有用的树状结构关系,如产品类别,库存位置,人力资源部门

-

买 - - 这1个应用程序,层次父树在m2o选择 - - 在odoo商店.得到 - - 免费的3个相关应用程序。 - -

-
-
-
-
-
-
-

更新: v12.19.05.02

-

优化的风格

- 关键特性: -
    -
  • - - 易于自定义的树状结构. -
  • -
  • - - 在产品类别中免费使用. -
  • -
  • - - 在仓库和库位中免费使用. -
  • -
  • - - 在HR、员工管理中免费使用. -
  • -
  • - - 它是一个小插件,你可以在odoo的任何地方使用它 -
  • -
-
-
- Extend features - (Need extra module, Click to get) - -
    -
  • - - 易于在树形或看板视图中浏览产品、员工。 -
  • -
-
-
- 得到相关演示 - -
-
-
-
- -
-
-

 

-

扩展功能 - (需要额外模块,单击获取)

-

高级搜索侧边栏与层次父子树

-
- -
-
-
- -
-
-

购买这个应用程序,得到额外的奖励应用程序,应用程序zTree小部件,层次父树在m2o选择

-

在m2o为产品类别选择树状结构

-
- -
-

在m2o为仓库选择树状结构

-
- -
-

在m2o为HR部门选择树状结构

-
- -
-
-
- -
-
-

包含在这个模块中的特性.

-

在产品中使用.

-
- -
-
-
- -
-
-

免费在产品目录中使用.

-
- -
-
-
- -
-
-

免费在仓库中使用.

-
- -
-
-
- -
-
-

在部门中使用.

-
- -
-
-
- -
-
-

在员工管理中使用.

-
- -
-
-
- -
-
-

很容易设置,只需使用widget='widget_select'。像这样

-
- -
-


使用跟随参数设置小插件:

-

ztree_parent_key: --父子关系的关键字段.

-

ztree_expend_level: --初始化树需要扩展多少个级别。默认是2

-

limit: --显示ztree的记录数。默认是16

-

order: --订单的字段

-
-
-
-
-
-

帮助与技术支持

-
-
-
-

- 任何类型的技术帮助和支持请求,请随时与我们联系

- - odoo@china.com -

- Via QQ: 300883 (App用户将不会获得QQ或其他即时通讯支持。仅为odoo项目定制.)

- - 300883@qq.com -
-
-

- 访问我们的网站以获得更多的支持.

- - https://www.odooai.cn -
-
-
-
- - - diff --git a/app_web_widget_ztree/static/description/setup1.jpg b/app_web_widget_ztree/static/description/setup1.jpg deleted file mode 100644 index d5ade2b1a..000000000 Binary files a/app_web_widget_ztree/static/description/setup1.jpg and /dev/null differ diff --git a/app_web_widget_ztree/static/description/superbar.gif b/app_web_widget_ztree/static/description/superbar.gif deleted file mode 100644 index 78c2090c5..000000000 Binary files a/app_web_widget_ztree/static/description/superbar.gif and /dev/null differ diff --git a/app_web_widget_ztree/static/description/z_hr1.gif b/app_web_widget_ztree/static/description/z_hr1.gif deleted file mode 100644 index 796162fe4..000000000 Binary files a/app_web_widget_ztree/static/description/z_hr1.gif and /dev/null differ diff --git a/app_web_widget_ztree/static/description/z_product1.gif b/app_web_widget_ztree/static/description/z_product1.gif deleted file mode 100644 index e471a66c3..000000000 Binary files a/app_web_widget_ztree/static/description/z_product1.gif and /dev/null differ diff --git a/app_web_widget_ztree/static/description/z_stock1.gif b/app_web_widget_ztree/static/description/z_stock1.gif deleted file mode 100644 index 2e947ba39..000000000 Binary files a/app_web_widget_ztree/static/description/z_stock1.gif and /dev/null differ diff --git a/ks_dashboard_ninja/static/images/Area.svg b/ks_dashboard_ninja/static/images/Area.svg deleted file mode 100644 index 0559bb295..000000000 --- a/ks_dashboard_ninja/static/images/Area.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/Bar.svg b/ks_dashboard_ninja/static/images/Bar.svg deleted file mode 100644 index e92eb29ce..000000000 --- a/ks_dashboard_ninja/static/images/Bar.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/Bullet.svg b/ks_dashboard_ninja/static/images/Bullet.svg deleted file mode 100644 index cb267b1b4..000000000 --- a/ks_dashboard_ninja/static/images/Bullet.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/Doughnut.svg b/ks_dashboard_ninja/static/images/Doughnut.svg deleted file mode 100644 index 424afc930..000000000 --- a/ks_dashboard_ninja/static/images/Doughnut.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/Flower.svg b/ks_dashboard_ninja/static/images/Flower.svg deleted file mode 100644 index 249347526..000000000 --- a/ks_dashboard_ninja/static/images/Flower.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/Funnel.svg b/ks_dashboard_ninja/static/images/Funnel.svg deleted file mode 100644 index 95c75632b..000000000 --- a/ks_dashboard_ninja/static/images/Funnel.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/Horizontal Bar.svg b/ks_dashboard_ninja/static/images/Horizontal Bar.svg deleted file mode 100644 index 196f565d0..000000000 --- a/ks_dashboard_ninja/static/images/Horizontal Bar.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/KPI.svg b/ks_dashboard_ninja/static/images/KPI.svg deleted file mode 100644 index 488d7918d..000000000 --- a/ks_dashboard_ninja/static/images/KPI.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/Line.svg b/ks_dashboard_ninja/static/images/Line.svg deleted file mode 100644 index 8c506c897..000000000 --- a/ks_dashboard_ninja/static/images/Line.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/List.svg b/ks_dashboard_ninja/static/images/List.svg deleted file mode 100644 index 2eb35236c..000000000 --- a/ks_dashboard_ninja/static/images/List.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/ks_dashboard_ninja/static/images/Map.svg b/ks_dashboard_ninja/static/images/Map.svg deleted file mode 100644 index dffd76b53..000000000 --- a/ks_dashboard_ninja/static/images/Map.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/Pie.svg b/ks_dashboard_ninja/static/images/Pie.svg deleted file mode 100644 index 711c21b4d..000000000 --- a/ks_dashboard_ninja/static/images/Pie.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/Polar.svg b/ks_dashboard_ninja/static/images/Polar.svg deleted file mode 100644 index 7606d2603..000000000 --- a/ks_dashboard_ninja/static/images/Polar.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/Radar.svg b/ks_dashboard_ninja/static/images/Radar.svg deleted file mode 100644 index c88b70eb1..000000000 --- a/ks_dashboard_ninja/static/images/Radar.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/Radial.svg b/ks_dashboard_ninja/static/images/Radial.svg deleted file mode 100644 index 2ac7a508a..000000000 --- a/ks_dashboard_ninja/static/images/Radial.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/ks_dashboard_ninja/static/images/Scatter.svg b/ks_dashboard_ninja/static/images/Scatter.svg deleted file mode 100644 index 578e4a02d..000000000 --- a/ks_dashboard_ninja/static/images/Scatter.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ks_dashboard_ninja/static/images/Tile.svg b/ks_dashboard_ninja/static/images/Tile.svg deleted file mode 100644 index a595c0b70..000000000 --- a/ks_dashboard_ninja/static/images/Tile.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/To-do.svg b/ks_dashboard_ninja/static/images/To-do.svg deleted file mode 100644 index e2864e0c2..000000000 --- a/ks_dashboard_ninja/static/images/To-do.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/area-chart.svg b/ks_dashboard_ninja/static/images/area-chart.svg deleted file mode 100644 index 9d992222c..000000000 --- a/ks_dashboard_ninja/static/images/area-chart.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/bar-chart.svg b/ks_dashboard_ninja/static/images/bar-chart.svg deleted file mode 100644 index a9223f2ad..000000000 --- a/ks_dashboard_ninja/static/images/bar-chart.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/donut-chart.svg b/ks_dashboard_ninja/static/images/donut-chart.svg deleted file mode 100644 index 281db0b1c..000000000 --- a/ks_dashboard_ninja/static/images/donut-chart.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/hand_wave.png b/ks_dashboard_ninja/static/images/hand_wave.png deleted file mode 100644 index 3dbdb7f04..000000000 Binary files a/ks_dashboard_ninja/static/images/hand_wave.png and /dev/null differ diff --git a/ks_dashboard_ninja/static/images/horizontalbar-chart.svg b/ks_dashboard_ninja/static/images/horizontalbar-chart.svg deleted file mode 100644 index 27ac0b5db..000000000 --- a/ks_dashboard_ninja/static/images/horizontalbar-chart.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/Info-circle.svg b/ks_dashboard_ninja/static/images/icons/Info-circle.svg deleted file mode 100644 index 2dda0389e..000000000 --- a/ks_dashboard_ninja/static/images/icons/Info-circle.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/Search-light.svg b/ks_dashboard_ninja/static/images/icons/Search-light.svg deleted file mode 100644 index 170edccbd..000000000 --- a/ks_dashboard_ninja/static/images/icons/Search-light.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/icons/Search.svg b/ks_dashboard_ninja/static/images/icons/Search.svg deleted file mode 100644 index 67faaf98c..000000000 --- a/ks_dashboard_ninja/static/images/icons/Search.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/icons/Vector.svg b/ks_dashboard_ninja/static/images/icons/Vector.svg deleted file mode 100644 index db68094ab..000000000 --- a/ks_dashboard_ninja/static/images/icons/Vector.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/icons/back-icon.svg b/ks_dashboard_ninja/static/images/icons/back-icon.svg deleted file mode 100644 index fedd87526..000000000 --- a/ks_dashboard_ninja/static/images/icons/back-icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/icons/dropdown-icon-light.svg b/ks_dashboard_ninja/static/images/icons/dropdown-icon-light.svg deleted file mode 100644 index f66ae96ce..000000000 --- a/ks_dashboard_ninja/static/images/icons/dropdown-icon-light.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/dropdown-icon.svg b/ks_dashboard_ninja/static/images/icons/dropdown-icon.svg deleted file mode 100644 index be17c7e40..000000000 --- a/ks_dashboard_ninja/static/images/icons/dropdown-icon.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/edit-btn.svg b/ks_dashboard_ninja/static/images/icons/edit-btn.svg deleted file mode 100644 index b38c81572..000000000 --- a/ks_dashboard_ninja/static/images/icons/edit-btn.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/generate-ai.svg b/ks_dashboard_ninja/static/images/icons/generate-ai.svg deleted file mode 100644 index 77968beab..000000000 --- a/ks_dashboard_ninja/static/images/icons/generate-ai.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/import-btn.svg b/ks_dashboard_ninja/static/images/icons/import-btn.svg deleted file mode 100644 index 0d90b9fa0..000000000 --- a/ks_dashboard_ninja/static/images/icons/import-btn.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/icons/mail-btn.svg b/ks_dashboard_ninja/static/images/icons/mail-btn.svg deleted file mode 100644 index 72544eb5d..000000000 --- a/ks_dashboard_ninja/static/images/icons/mail-btn.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/icons/play-btn.svg b/ks_dashboard_ninja/static/images/icons/play-btn.svg deleted file mode 100644 index b217dea82..000000000 --- a/ks_dashboard_ninja/static/images/icons/play-btn.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/icons/print-btn.svg b/ks_dashboard_ninja/static/images/icons/print-btn.svg deleted file mode 100644 index b39beae11..000000000 --- a/ks_dashboard_ninja/static/images/icons/print-btn.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/ks_dashboard_ninja/static/images/icons/quality-invoice.svg b/ks_dashboard_ninja/static/images/icons/quality-invoice.svg deleted file mode 100644 index d42d8b65d..000000000 --- a/ks_dashboard_ninja/static/images/icons/quality-invoice.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/line-chart.svg b/ks_dashboard_ninja/static/images/line-chart.svg deleted file mode 100644 index e582fbffc..000000000 --- a/ks_dashboard_ninja/static/images/line-chart.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/pie-chart.svg b/ks_dashboard_ninja/static/images/pie-chart.svg deleted file mode 100644 index 87d336f6b..000000000 --- a/ks_dashboard_ninja/static/images/pie-chart.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/ks_dashboard_ninja/static/images/polar-chart.svg b/ks_dashboard_ninja/static/images/polar-chart.svg deleted file mode 100644 index 0d7415daf..000000000 --- a/ks_dashboard_ninja/static/images/polar-chart.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/ks_dashboard_ninja/static/images/selected.svg b/ks_dashboard_ninja/static/images/selected.svg deleted file mode 100644 index 9992817e0..000000000 --- a/ks_dashboard_ninja/static/images/selected.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/capture (1).png b/list_view_sticky_header_and_column/static/description/assets/icons/capture (1).png deleted file mode 100644 index 8824deafc..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/capture (1).png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/check.png b/list_view_sticky_header_and_column/static/description/assets/icons/check.png deleted file mode 100644 index c8e85f51d..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/check.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/chevron.png b/list_view_sticky_header_and_column/static/description/assets/icons/chevron.png deleted file mode 100644 index 2089293d6..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/chevron.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/cogs.png b/list_view_sticky_header_and_column/static/description/assets/icons/cogs.png deleted file mode 100644 index 95d0bad62..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/cogs.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/consultation.png b/list_view_sticky_header_and_column/static/description/assets/icons/consultation.png deleted file mode 100644 index 8319d4baa..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/consultation.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/ecom-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/ecom-black.png deleted file mode 100644 index a9385ff13..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/ecom-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/education-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/education-black.png deleted file mode 100644 index 3eb09b27b..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/education-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/hotel-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/hotel-black.png deleted file mode 100644 index 130f613be..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/hotel-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/img.png b/list_view_sticky_header_and_column/static/description/assets/icons/img.png deleted file mode 100644 index 70197f477..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/img.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/license.png b/list_view_sticky_header_and_column/static/description/assets/icons/license.png deleted file mode 100644 index a5869797e..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/license.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/lifebuoy.png b/list_view_sticky_header_and_column/static/description/assets/icons/lifebuoy.png deleted file mode 100644 index 658d56ccc..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/lifebuoy.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/manufacturing-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/manufacturing-black.png deleted file mode 100644 index 697eb0e9f..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/manufacturing-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/photo-capture.png b/list_view_sticky_header_and_column/static/description/assets/icons/photo-capture.png deleted file mode 100644 index 06c111758..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/photo-capture.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/pos-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/pos-black.png deleted file mode 100644 index 97c0f90c1..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/pos-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/puzzle.png b/list_view_sticky_header_and_column/static/description/assets/icons/puzzle.png deleted file mode 100644 index 65cf854e7..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/puzzle.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/restaurant-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/restaurant-black.png deleted file mode 100644 index 4a35eb939..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/restaurant-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/service-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/service-black.png deleted file mode 100644 index 301ab51cb..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/service-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/trading-black.png b/list_view_sticky_header_and_column/static/description/assets/icons/trading-black.png deleted file mode 100644 index 9398ba2f1..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/trading-black.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/training.png b/list_view_sticky_header_and_column/static/description/assets/icons/training.png deleted file mode 100644 index 884ca024d..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/training.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/update.png b/list_view_sticky_header_and_column/static/description/assets/icons/update.png deleted file mode 100644 index ecbc5a01a..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/update.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/user.png b/list_view_sticky_header_and_column/static/description/assets/icons/user.png deleted file mode 100644 index 6ffb23d9f..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/user.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/icons/wrench.png b/list_view_sticky_header_and_column/static/description/assets/icons/wrench.png deleted file mode 100644 index 6c04dea0f..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/icons/wrench.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/Cybrosys R.png b/list_view_sticky_header_and_column/static/description/assets/misc/Cybrosys R.png deleted file mode 100644 index da4058087..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/misc/Cybrosys R.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/email.svg b/list_view_sticky_header_and_column/static/description/assets/misc/email.svg deleted file mode 100644 index 15291cdc3..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/email.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/phone.svg b/list_view_sticky_header_and_column/static/description/assets/misc/phone.svg deleted file mode 100644 index b7bd7f251..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/phone.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/star (1) 2.svg b/list_view_sticky_header_and_column/static/description/assets/misc/star (1) 2.svg deleted file mode 100644 index 5ae9f507a..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/star (1) 2.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/support (1) 1.svg b/list_view_sticky_header_and_column/static/description/assets/misc/support (1) 1.svg deleted file mode 100644 index 7d37a8f30..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/support (1) 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/support-email.svg b/list_view_sticky_header_and_column/static/description/assets/misc/support-email.svg deleted file mode 100644 index eb70370d6..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/support-email.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/tick-mark.svg b/list_view_sticky_header_and_column/static/description/assets/misc/tick-mark.svg deleted file mode 100644 index 2dbb40187..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/tick-mark.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/whatsapp 1.svg b/list_view_sticky_header_and_column/static/description/assets/misc/whatsapp 1.svg deleted file mode 100644 index 0bfaf8fc6..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/whatsapp 1.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/misc/whatsapp.svg b/list_view_sticky_header_and_column/static/description/assets/misc/whatsapp.svg deleted file mode 100644 index b618aea1d..000000000 --- a/list_view_sticky_header_and_column/static/description/assets/misc/whatsapp.svg +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/list_view_sticky_header_and_column/static/description/assets/modules/print_minutes_of_meeting.png b/list_view_sticky_header_and_column/static/description/assets/modules/print_minutes_of_meeting.png deleted file mode 100644 index 1d9e21fbc..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/modules/print_minutes_of_meeting.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/modules/project_custom_gantt.png b/list_view_sticky_header_and_column/static/description/assets/modules/project_custom_gantt.png deleted file mode 100644 index 2ad200f9f..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/modules/project_custom_gantt.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/modules/project_report_pdf.png b/list_view_sticky_header_and_column/static/description/assets/modules/project_report_pdf.png deleted file mode 100644 index 84457ac0a..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/modules/project_report_pdf.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/modules/project_task_attachments.jpg b/list_view_sticky_header_and_column/static/description/assets/modules/project_task_attachments.jpg deleted file mode 100644 index 492b47dbe..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/modules/project_task_attachments.jpg and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/modules/project_tasks_from_templates.png b/list_view_sticky_header_and_column/static/description/assets/modules/project_tasks_from_templates.png deleted file mode 100644 index c84c8b1c4..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/modules/project_tasks_from_templates.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/modules/projects_task_checklists.png b/list_view_sticky_header_and_column/static/description/assets/modules/projects_task_checklists.png deleted file mode 100644 index 3ce71a366..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/modules/projects_task_checklists.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/screenshots/1.png b/list_view_sticky_header_and_column/static/description/assets/screenshots/1.png deleted file mode 100644 index e939dab19..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/screenshots/1.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/screenshots/2.png b/list_view_sticky_header_and_column/static/description/assets/screenshots/2.png deleted file mode 100644 index f65a2c148..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/screenshots/2.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/screenshots/3.png b/list_view_sticky_header_and_column/static/description/assets/screenshots/3.png deleted file mode 100644 index 192db9d9e..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/screenshots/3.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/assets/screenshots/hero.gif b/list_view_sticky_header_and_column/static/description/assets/screenshots/hero.gif deleted file mode 100644 index 575d9aae2..000000000 Binary files a/list_view_sticky_header_and_column/static/description/assets/screenshots/hero.gif and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/banner.jpg b/list_view_sticky_header_and_column/static/description/banner.jpg deleted file mode 100644 index ae2913e34..000000000 Binary files a/list_view_sticky_header_and_column/static/description/banner.jpg and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/icon.png b/list_view_sticky_header_and_column/static/description/icon.png deleted file mode 100644 index 5096a50e5..000000000 Binary files a/list_view_sticky_header_and_column/static/description/icon.png and /dev/null differ diff --git a/list_view_sticky_header_and_column/static/description/index.html b/list_view_sticky_header_and_column/static/description/index.html deleted file mode 100644 index 63b1638a2..000000000 --- a/list_view_sticky_header_and_column/static/description/index.html +++ /dev/null @@ -1,569 +0,0 @@ - - - - - - Odoo App 3 Index - - - - - - - - -
-
-
-
-
- -
-
-
- Community -
-
- Enterprise -
-
- Odoo.sh -
-
-
-
-
-
-

- Sticky Header And Column In List View

-

- Enhance List Views With Sticky Headers And Columns For - Improved Navigation And Readability. -

-
- -
-
-
-
-
-

Key Highlights -

-
-
-
-
-
- -
-
-

Community & Enterprise Support. -

-
-
-
-
-
-
- -
-
-

Enhanced Data Visibility. -

-
-
-
-
-
-
- -
-
-

- Support for Different Modules. -

-
-
-
- -
-
-
- -
-
-
-
-
- -
-
-

- Click the pin icon in the list view headers to select the sticky column.
- Clicking on a column outside the pinned area will unselect the sticky header. -

-
-
-
-
-
-
- -
-
-

- As you scroll horizontally, you will notice that the pinned records and header row remain in place, - maintaining visibility. -

-
-
-
-
-
-
- -
-
-

- Upon vertical scrolling through a list of records, the header row of the table remains sticky. -

-
-
-
-
-
-
-
    -
  • - Community & Enterprise Support. -
  • -
  • - The module introduces sticky headers and columns to Odoo's list view. -
  • -
  • - Enhanced Data Visibility. -
  • -
  • - Support for Different Modules. -
  • -
-
-
-
-
-
-
Version - 17.0.1.0.0|Released on:13 August 2024 -
-

- Initial commit for Sticky Header And Column In List View -

-
-
-
-
-
-
-
-

Related Products

-
-
- -
-
-

Our Services

-
-
-
-
-
-
-
-
- service-icon -
-
-

Odoo Customization

-
-
-
-
-
-
- service-icon -
-
-

Odoo Implementation

-
-
-
-
-
-
- service-icon -
-
-

Odoo Support

-
-
-
-
-
-
- service-icon -
-
-

Hire Odoo Developer

-
-
-
-
-
-
- service-icon -
-
-

Odoo Integration

-
-
-
-
-
-
- service-icon -
-
-

Odoo Migration

-
-
-
-
-
-
- service-icon -
-
-

Odoo Consultancy

-
-
-
-
-
-
- service-icon -
-
-

Odoo Implementation

-
-
-
-
-
-
- service-icon -
-
-

Odoo Licensing Consultancy

-
-
-
-
-
-
-

Our Industries

-
-
-
-
-
-
- -

Trading

-

Easily procure and sell your products

-
-
-
-
- -

POS

-

Easy configuration and convivial experience

-
-
-
-
- -

Education

-

A platform for educational management

-
-
-
-
- -

Manufacturing

-

Plan, track and schedule your operations

-
-
-
-
- -

E-commerce & Website

-

Mobile friendly, awe-inspiring product pages

-
-
-
-
- -

Service Management

-

Keep track of services and invoice

-
-
-
-
- -

Restaurant

-

Run your bar or restaurant methodically

-
-
-
-
- -

Hotel Management

-

An all-inclusive hotel management application

-
-
-
-
-
-
-

Support

-
-
-
-
-
-
-
- -
- Need - Help? -

Got questions or need help? Get in touch.

-
odoo@cybrosys.com -
-
-
-
-
-
-
-
- -
- WhatsApp -

Say hi to us on WhatsApp!

-
+91 - 99456767686
-
-
-
-
-
-
-
-
- - - - - - diff --git a/onlyoffice_odoo/__init__.py b/onlyoffice_odoo/__init__.py deleted file mode 100644 index 511a0ca3a..000000000 --- a/onlyoffice_odoo/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers -from . import models \ No newline at end of file diff --git a/onlyoffice_odoo/__manifest__.py b/onlyoffice_odoo/__manifest__.py deleted file mode 100644 index f6be6788e..000000000 --- a/onlyoffice_odoo/__manifest__.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding: utf-8 -*- -{ - 'name': "ONLYOFFICE", - - 'summary': "Edit and collaborate on office files within Odoo Documents.", - - 'description': "The ONLYOFFICE connector allows users to edit and collaborate on office files within Odoo Documents using ONLYOFFICE Docs. You can work with text documents, spreadsheets, and presentations, co-author documents in real time using two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat.", - - 'author': "ONLYOFFICE", - 'website': "https://www.onlyoffice.com", - - 'category': 'Productivity', - 'version': '4.0.0', - - 'depends': ['base', 'mail'], - - "external_dependencies": {"python": ["pyjwt"]}, - - # always loaded - 'data': [ - 'views/templates.xml', - 'views/res_config_settings_views.xml', - ], - - 'license': 'LGPL-3', - 'support': 'support@onlyoffice.com', - - 'images': [ "static/description/main_screenshot.png", "static/description/document.png", "static/description/sales_section.png", "static/description/discuss_section.png", "static/description/settings.png" ], - - 'installable': True, - 'application': True, - - 'assets': { - 'web.assets_backend': [ - 'onlyoffice_odoo/static/src/components/*/*.xml', - 'onlyoffice_odoo/static/src/models/*.js' - ], - }, -} diff --git a/onlyoffice_odoo/controllers/__init__.py b/onlyoffice_odoo/controllers/__init__.py deleted file mode 100644 index 457bae27e..000000000 --- a/onlyoffice_odoo/controllers/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers \ No newline at end of file diff --git a/onlyoffice_odoo/controllers/controllers.py b/onlyoffice_odoo/controllers/controllers.py deleted file mode 100644 index f03540cc7..000000000 --- a/onlyoffice_odoo/controllers/controllers.py +++ /dev/null @@ -1,196 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# (c) Copyright Ascensio System SIA 2024 -# - -import json -import logging -import markupsafe -import re -import string - -from odoo import http -from odoo.http import request - -from odoo.addons.onlyoffice_odoo.utils import file_utils -from odoo.addons.onlyoffice_odoo.utils import jwt_utils -from odoo.addons.onlyoffice_odoo.utils import config_utils -from odoo.addons.onlyoffice_odoo.utils import url_utils - -from mimetypes import guess_type -from urllib.request import urlopen - -_logger = logging.getLogger(__name__) -_mobile_regex = r"android|avantgo|playbook|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od|ad)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|symbian|treo|up\\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino" - - -class Onlyoffice_Connector(http.Controller): - @http.route("/onlyoffice/file/content/test.txt", auth="public") - def get_test_file(self): - content = "test" - headers = [ - ("Content-Length", len(content)), - ("Content-Type", "text/plain"), - ("Content-Disposition", "attachment; filename=test.txt") - ] - response = request.make_response(content, headers) - return response - - @http.route("/onlyoffice/file/content/", auth="public") - def get_file_content(self, attachment_id, oo_security_token=None, access_token=None): - - attachment = self.get_attachment(attachment_id, self.get_user_from_token(oo_security_token)) - if not attachment: - return request.not_found() - - attachment.validate_access(access_token) - attachment.check_access_rights("read") - - if jwt_utils.is_jwt_enabled(request.env): - token = request.httprequest.headers.get(config_utils.get_jwt_header(request.env)) - if token: - token = token[len("Bearer "):] - - if not token: - raise Exception("expected JWT") - - jwt_utils.decode_token(request.env, token) - - stream = request.env["ir.binary"]._get_stream_from(attachment, "datas", None, "name", None) - - send_file_kwargs = {"as_attachment": True, "max_age": None} - - return stream.get_response(**send_file_kwargs) - - @http.route("/onlyoffice/editor/", auth="public", type="http", website=True) - def render_editor(self, attachment_id, access_token=None): - attachment = self.get_attachment(attachment_id) - if not attachment: - return request.not_found() - - attachment.validate_access(access_token) - - data = attachment.read(["id", "checksum", "public", "name", "access_token"])[0] - filename = data["name"] - - can_read = attachment.check_access_rights("read", raise_exception=False) and file_utils.can_view(filename) - can_write = attachment.check_access_rights("write", raise_exception=False) and file_utils.can_edit(filename) - - if (not can_read): - raise Exception("cant read") - - return request.render("onlyoffice_odoo.onlyoffice_editor", self.prepare_editor_values(attachment, access_token, can_write)) - - @http.route("/onlyoffice/editor/callback/", auth="public", methods=["POST"], type="http", csrf=False) - def editor_callback(self, attachment_id, oo_security_token=None, access_token=None): - - response_json = {"error": 0} - - try: - body = request.get_json_data() - - attachment = self.get_attachment(attachment_id, self.get_user_from_token(oo_security_token)) - if not attachment: - raise Exception("attachment not found") - - attachment.validate_access(access_token) - attachment.check_access_rights("write") - - if jwt_utils.is_jwt_enabled(request.env): - token = body.get("token") - - if not token: - token = request.httprequest.headers.get(config_utils.get_jwt_header(request.env)) - if token: - token = token[len("Bearer "):] - - if not token: - raise Exception("expected JWT") - - body = jwt_utils.decode_token(request.env, token) - if body.get("payload"): - body = body["payload"] - - status = body["status"] - - if (status == 2) | (status == 3): # mustsave, corrupted - file_url = url_utils.replace_public_url_to_internal(request.env, body.get("url")) - attachment.write({"raw": urlopen(file_url).read(), "mimetype": guess_type(file_url)[0]}) - - except Exception as ex: - response_json["error"] = 1 - response_json["message"] = http.serialize_exception(ex) - - return request.make_response( - data=json.dumps(response_json), - status=500 if response_json["error"] == 1 else 200, - headers=[("Content-Type", "application/json")], - ) - - def prepare_editor_values(self, attachment, access_token, can_write): - data = attachment.read(["id", "checksum", "public", "name", "access_token"])[0] - - docserver_url = config_utils.get_doc_server_public_url(request.env) - odoo_url = config_utils.get_base_or_odoo_url(request.env) - - filename = self.filter_xss(data["name"]) - - security_token = jwt_utils.encode_payload(request.env, { "id": request.env.user.id }, config_utils.get_internal_jwt_secret(request.env)) - path_part = str(data["id"]) + "?oo_security_token=" + security_token + ("&access_token=" + access_token if access_token else "") - - document_type = file_utils.get_file_type(filename) - - is_mobile = bool(re.search(_mobile_regex, request.httprequest.headers.get("User-Agent"), re.IGNORECASE)) - - root_config = { - "width": "100%", - "height": "100%", - "type": "mobile" if is_mobile else "desktop", - "documentType": document_type, - "document": { - "title": filename, - "url": odoo_url + "onlyoffice/file/content/" + path_part, - "fileType": file_utils.get_file_ext(filename), - "key": str(data["id"]) + str(data["checksum"]), - "permissions": { "edit": can_write }, - }, - "editorConfig": { - "mode": "edit" if can_write else "view", - "lang": request.env.user.lang, - "user": {"id": str(request.env.user.id), "name": request.env.user.name}, - "customization": {}, - }, - } - - if can_write: - root_config["editorConfig"]["callbackUrl"] = odoo_url + "onlyoffice/editor/callback/" + path_part - - if jwt_utils.is_jwt_enabled(request.env): - root_config["token"] = jwt_utils.encode_payload(request.env, root_config) - - return {"docTitle": filename, "docIcon": f"/onlyoffice_odoo/static/description/editor_icons/{document_type}.ico", "docApiJS": docserver_url + "web-apps/apps/api/documents/api.js", "editorConfig": markupsafe.Markup(json.dumps(root_config))} - - def get_attachment(self, attachment_id, user=None): - IrAttachment = request.env["ir.attachment"] - if user: - IrAttachment = IrAttachment.with_user(user) - try: - return IrAttachment.browse([attachment_id]).exists().ensure_one() - except Exception: - return None - - def get_user_from_token(self, token): - - if not token: - raise Exception("missing security token") - - user_id = jwt_utils.decode_token(request.env, token, config_utils.get_internal_jwt_secret(request.env))["id"] - user = request.env["res.users"].sudo().browse(user_id).exists().ensure_one() - return user - - def filter_xss(self, text): - allowed_symbols = set(string.ascii_letters + string.digits + "_-.") - text = "".join(char for char in text if char in allowed_symbols) - - return text \ No newline at end of file diff --git a/onlyoffice_odoo/doc/index.rst b/onlyoffice_odoo/doc/index.rst deleted file mode 100644 index c22356eaf..000000000 --- a/onlyoffice_odoo/doc/index.rst +++ /dev/null @@ -1,28 +0,0 @@ -Prerequisites -============= - -To be able to work with office files within Odoo, you will need an instance of ONLYOFFICE Docs. You can install the `self-hosted version`_ of the editors (free Community build or scalable Enterprise version), or opt for `ONLYOFFICE Docs`_ Cloud which doesn't require downloading and installation. - -ONLYOFFICE app configuration -============================ - -After the app installation, adjust its settings within your Odoo (*Home menu -> Settings -> ONLYOFFICE*). -In the **Document Server Url**, specify the URL of the installed ONLYOFFICE Docs or the address of ONLYOFFICE Docs Cloud. - -**Document Server JWT Secret**: JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs. if you want to specify your own secret key in this field, also specify the same secret key in the ONLYOFFICE Docs `config file`_ to enable the validation. - -**Document Server JWT Header**: Standard JWT header used in ONLYOFFICE is Authorization. In case this header is in conflict with your setup, you can change the header to the custom one. - - -.. image:: settings.png - :width: 800 - - -Contact us -========== - -If you have any questions or suggestions regarding the ONLYOFFICE app for Odoo, please let us know at https://forum.onlyoffice.com - -.. _self-hosted version: https://www.onlyoffice.com/download-docs.aspx -.. _ONLYOFFICE Docs: https://www.onlyoffice.com/docs-registration.aspx -.. _config file: https://api.onlyoffice.com/editors/signature/ \ No newline at end of file diff --git a/onlyoffice_odoo/doc/settings.png b/onlyoffice_odoo/doc/settings.png deleted file mode 100644 index bbfedd5c3..000000000 Binary files a/onlyoffice_odoo/doc/settings.png and /dev/null differ diff --git a/onlyoffice_odoo/i18n/de.po b/onlyoffice_odoo/i18n/de.po deleted file mode 100644 index c50e6fb5a..000000000 --- a/onlyoffice_odoo/i18n/de.po +++ /dev/null @@ -1,170 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 15:33+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: de\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"Adresse des Document Editing Service für " -"interne Anfragen vom Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "JWT-Header von Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "" -"JWT-Geheimschlüssel von Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "URL von Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"Serveradresse für interne Anfragen des Document " -"Editing Service" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "Konfigurationseinstellungen" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "Zum Demoserver von ONLYOFFICE Docs verbinden" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "Innere URL von Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "JWT-Header von Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "JWT-Geheimschlüssel von Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "Öffentliche URL von Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "JETZT ERHALTEN" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "Allgemeine Einstellungen" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "Interner JWT-Geheimschlüssel" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "ONLYOFFICE Docs-Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"ONLYOFFICE kann nicht erreicht werden. Bitte kontaktieren Sie den " -"Administrator." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "ONLYOFFICE-Logo" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "Odoo-URL" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "In ONLYOFFICE öffnen" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "Andere" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "Sicherheit" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "Einstellungen" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"Der 30-tägige Testzeitraum ist vorbei. Sie können sich nicht mehr mit dem " -"Demo-Server von ONLYOFFICE Docs verbinden" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"Dies ist ein öffentlicher Testserver, bitte verwenden Sie ihn nicht für " -"private sensible Daten. Der Server wird für einen Zeitraum von 30 Tagen " -"verfügbar sein." diff --git a/onlyoffice_odoo/i18n/en.po b/onlyoffice_odoo/i18n/en.po deleted file mode 100644 index a6e9b12ca..000000000 --- a/onlyoffice_odoo/i18n/en.po +++ /dev/null @@ -1,158 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240603\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 08:14+0000\n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: \n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE" -" Docs server" -msgstr "" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" diff --git a/onlyoffice_odoo/i18n/es.po b/onlyoffice_odoo/i18n/es.po deleted file mode 100644 index 63b123ea5..000000000 --- a/onlyoffice_odoo/i18n/es.po +++ /dev/null @@ -1,170 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 16:20+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: es_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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"Dirección del Servicio de edición de documentos " -"para solicitudes internas del servidor" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "" -"Encabezado JWT del Servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "" -"Secreto JWT del Servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "URL del Servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"Dirección del servidor para solicitudes " -"internas del Servicio de edición de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "Parámetros de configuración" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "Conectarse al servidor demo de ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "URL interna del Servidor de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "Encabezado JWT del Servidor de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "Secreto JWT del Servidor de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "URL pública del Servidor de Documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "OBTENER AHORA" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "Ajustes generales" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "Secreto JWT interno" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Servidor de ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"ONLYOFFICE no puede ser alcanzado. Por favor, póngase en contacto con el " -"administrador." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "Logo de ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "URL de Odoo" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Abrir en ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "Otros" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "Seguridad" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "Ajustes" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"El período de prueba de 30 días ha terminado, ya no se puede conectar al " -"servidor de ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"Este es un servidor público de prueba, por favor no lo utilice para datos " -"privados. El servidor estará disponible durante un período de 30 días." diff --git a/onlyoffice_odoo/i18n/fr.po b/onlyoffice_odoo/i18n/fr.po deleted file mode 100644 index 1a54ea4b7..000000000 --- a/onlyoffice_odoo/i18n/fr.po +++ /dev/null @@ -1,167 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 16:28+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: fr_FR\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"Adresse du service d'édition de documents pour " -"les demandes internes du serveur" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "En-tête JWT du Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "Secret JWT du Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "URL du Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"Adresse du serveur pour les demandes internes " -"du Service d'édition de documents" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "Paramètres de configuration" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "Connexion au serveur de démonstration ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "URL interne de Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "En-tête JWT du Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "Secret JWT du Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "URL public de Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "OBTENIR MAINTENANT" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "Paramètres généraux" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "Secret JWT interne" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Serveur ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "ONLYOFFICE n'est pas joignable. Veuillez contacter l'administrateur." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "Logo ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "URL de Odoo" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Ouvrir dans ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "Autre" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "Sécurité" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "Paramètres" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"La période de test de 30 jours est terminée, vous ne pouvez plus vous " -"connecter à la démo ONLYOFFICE Serveur Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"Il s'agit d'un serveur de test public, veuillez ne pas l'utiliser pour des " -"données sensibles privées. Le serveur sera disponible pendant une période de " -"30 jours." diff --git a/onlyoffice_odoo/i18n/it.po b/onlyoffice_odoo/i18n/it.po deleted file mode 100644 index 0e8040257..000000000 --- a/onlyoffice_odoo/i18n/it.po +++ /dev/null @@ -1,168 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 16:32+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: it_IT\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"Indirizzo del servizio di modifica dei " -"documenti per richieste interne del server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "" -"Intestazione JWT del Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "Segreto JWT del Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "URL del Document Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"Indirizzo del server per richieste interne dal " -"Servizio di modifica dei documenti" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "Impostazioni di configurazione" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "Connessione al server demo ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "URL interno del server dei documenti" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "Intestazione JWT del Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "Segreto JWT del Document Server" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "URL pubblico del server dei documenti" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "OTTIENI ORA" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "Impostazioni generali" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "Segreto JWT interno" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Server ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"ONLYOFFICE non può essere raggiunto. Si prega di contattare l'amministratore." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "Logo di ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "URL di Odoo" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Aprire in ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "Altro" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "Sicurezza" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "Impostazioni" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"Il periodo di prova di 30 giorni è terminato, non puoi più connetterti alla " -"demo ONLYOFFICE Docs Server" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"Questo è un server di test pubblico, si prega di non usarlo per dati privati " -"e sensibili. Il server sarà disponibile per un periodo di 30 giorni." diff --git a/onlyoffice_odoo/i18n/ja.po b/onlyoffice_odoo/i18n/ja.po deleted file mode 100644 index db1379078..000000000 --- a/onlyoffice_odoo/i18n/ja.po +++ /dev/null @@ -1,166 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 17:31+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"サーバーからの内部リクエスト用の文書編集サービス" -"アドレス" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "Document ServerのJWTヘッダー" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "Document ServerのJWTシクレット" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "Document ServerのURL" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"ドキュメント編集サービスからの内部リクエスト用" -"サーバアドレス" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "構成の設定" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "ONLYOFFICE Docsのデモサーバーへの接続" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "ドキュメントサーバ内部URL" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "Document ServerのJWTヘッダー" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "Document ServerのJWTシクレット" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "ドキュメントサーバ公開URL" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "今すぐ入手" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "一般設定" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "内部JWTシクレット" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "ONLYOFFICE Docsサーバ" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "ONLYOFFICEにアクセスできません。管理者にご連絡ください。" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "ONLYOFFICEロゴ" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "Odoo URL" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "ONLYOFFICEで開く" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "その他" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "セキュリティー" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "設定" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"30日間のテスト期間が終了し、ONLYOFFICE Docsのデモサーバーに接続できなくなりま" -"した" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"このサーバーは公開テストサーバーですので、個人の機密データには使用しないでく" -"ださい。このサーバーは30日間利用可能です。" diff --git a/onlyoffice_odoo/i18n/pt_BR.po b/onlyoffice_odoo/i18n/pt_BR.po deleted file mode 100644 index 81b3cf99b..000000000 --- a/onlyoffice_odoo/i18n/pt_BR.po +++ /dev/null @@ -1,169 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 16:53+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: pt_BR\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"Endereço do Serviço de Edição de Documentos " -"para interno solicitações do servidor" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "" -"Cabeçalho JWT do servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "" -"Segredo JWT do servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "URL do servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"Endereço do servidor para solicitações internas " -"do Serviço de edição de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "Configurações de configuração" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "Conecte-se ao servidor de demonstração do ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "URL interno do servidor de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "Cabeçalho JWT do servidor de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "Segredo JWT do servidor de documentos" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "URL pública do servidor de documentos" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "OBTENHA AGORA" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "Configurações gerais" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "Segredo JWT Interno" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Servidor ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"ONLYOFFICE não pode ser alcançado. Entre em contato com o administrador." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "Logotipo ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "URL Odoo" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Abrir no ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "Outros" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "Segurança" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "Configurações" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"O período de teste de 30 dias acabou, você não pode mais se conectar ao " -"ONLYOFFICE de demonstração Servidor Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"Este é um servidor de teste público, por favor, não o use para dados " -"confidenciais. O servidor estará disponível durante um período de 30 dias." diff --git a/onlyoffice_odoo/i18n/ru.po b/onlyoffice_odoo/i18n/ru.po deleted file mode 100644 index 70e683a30..000000000 --- a/onlyoffice_odoo/i18n/ru.po +++ /dev/null @@ -1,168 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 17:24+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ru_RU\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"Адрес сервиса редактирования документов для " -"внутренних запросов с сервера" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "Заголовок JWT сервера документов" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "" -"Секретный JWT ключ сервера документов" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "URL сервера документов" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"Адрес сервера для внутренних запросов от " -"сервиса редактирования документов" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "Настройки конфигурации" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "Подключиться к демо-серверу ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "Внутренний URL сервера документов" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "Заголовок JWT сервера документов" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "Секретный JWT ключ сервера документов" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "Публичный URL сервера документов" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "ПОЛУЧИТЬ СЕЙЧАС" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "Основные настройки" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "Внутренний секретный JWT ключ" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Сервер ONLYOFFICE Docs" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "ONLYOFFICE недоступен. Пожалуйста, свяжитесь с администратором." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "Логотип ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "URL Odoo" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Открыть в ONLYOFFICE" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "Другое" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "Безопасность" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "Настройки" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"30-дневный тестовый период закончился, вы больше не можете подключиться к " -"демо-серверу ONLYOFFICE Docs." - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "" -"Это общедоступный тестовый сервер, не используйте его для конфиденциальных " -"данных. Сервер будет доступен в течение 30-дневного периода." diff --git a/onlyoffice_odoo/i18n/zh_CN.po b/onlyoffice_odoo/i18n/zh_CN.po deleted file mode 100644 index d8b9243ef..000000000 --- a/onlyoffice_odoo/i18n/zh_CN.po +++ /dev/null @@ -1,162 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:14+0000\n" -"PO-Revision-Date: 2024-07-03 17:10+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Document Editing Service address for internal " -"requests from the server" -msgstr "" -"文档编辑服务地址,用于来自服务器的内部请求" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Header" -msgstr "文档服务器 JWT 头" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server JWT Secret" -msgstr "文档服务器 JWT 秘密" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Document Server Url" -msgstr "文档服务器网址(URL)" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"Server address for internal requests from the " -"Document Editing Service" -msgstr "" -"服务器地址,用于来自文档编辑服务的内部请求" - -#. module: onlyoffice_odoo -#: model:ir.model,name:onlyoffice_odoo.model_res_config_settings -msgid "Config Settings" -msgstr "配置设置" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_demo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Connect to demo ONLYOFFICE Docs server" -msgstr "连接到 ONLYOFFICE 文档服务器演示版" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_inner_url -msgid "Document Server Inner URL" -msgstr "文档服务器内部 URL" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_header -msgid "Document Server JWT Header" -msgstr "文档服务器 JWT 头" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_jwt_secret -msgid "Document Server JWT Secret" -msgstr "文档服务器 JWT 秘密" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_public_url -msgid "Document Server Public URL" -msgstr "文档服务器公共 URL" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "GET NOW" -msgstr "立即获取" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "General Settings" -msgstr "一般设置" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__internal_jwt_secret -msgid "Internal JWT Secret" -msgstr "内部 JWT 秘密" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "ONLYOFFICE" -msgstr "ONLYOFFICE" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "ONLYOFFICE 文档服务器" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "ONLYOFFICE 无法访问,请联系管理员。" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.onlyoffice_editor -msgid "ONLYOFFICE logo" -msgstr "ONLYOFFICE logo" - -#. module: onlyoffice_odoo -#: model:ir.model.fields,field_description:onlyoffice_odoo.field_res_config_settings__doc_server_odoo_url -msgid "Odoo URL" -msgstr "Odoo URL" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "用 ONLYOFFICE 打开" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Other" -msgstr "其他" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "Security" -msgstr "安全" - -#. module: onlyoffice_odoo -#: model:ir.actions.act_window,name:onlyoffice_odoo.action_onlyoffice_config_settings -msgid "Settings" -msgstr "设置" - -#. module: onlyoffice_odoo -#. odoo-javascript -#: code:addons/onlyoffice_odoo/static/src/models/attachment_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "30 天测试期结束后,您将无法再访问 ONLYOFFICE文档服务器演示版" - -#. module: onlyoffice_odoo -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo.res_config_settings_view_form -msgid "" -"This is a public test server, please do not use it for private sensitive " -"data. The server will be available during a 30-day period." -msgstr "这是公共测试服务器,请勿用于私人敏感 数据。服务器将在 30 天内可用。" diff --git a/onlyoffice_odoo/models/__init__.py b/onlyoffice_odoo/models/__init__.py deleted file mode 100644 index 64f7f13cf..000000000 --- a/onlyoffice_odoo/models/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import res_config_settings \ No newline at end of file diff --git a/onlyoffice_odoo/models/res_config_settings.py b/onlyoffice_odoo/models/res_config_settings.py deleted file mode 100644 index 6f460287a..000000000 --- a/onlyoffice_odoo/models/res_config_settings.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# (c) Copyright Ascensio System SIA 2024 -# - -from odoo import api, fields, models - -from odoo.addons.onlyoffice_odoo.utils import config_utils -from odoo.addons.onlyoffice_odoo.utils import validation_utils - -class ResConfigSettings(models.TransientModel): - _inherit = "res.config.settings" - - doc_server_public_url = fields.Char("Document Server Public URL") - doc_server_odoo_url = fields.Char("Odoo URL") - doc_server_inner_url = fields.Char("Document Server Inner URL") - doc_server_jwt_secret = fields.Char("Document Server JWT Secret") - doc_server_jwt_header = fields.Char("Document Server JWT Header") - doc_server_demo = fields.Boolean("Connect to demo ONLYOFFICE Docs server") - - internal_jwt_secret = fields.Char("Internal JWT Secret") - - @api.onchange("doc_server_public_url") - def onchange_doc_server_public_url(self): - if self.doc_server_public_url and not validation_utils.valid_url(self.doc_server_public_url): - return { - "warning": { - "title": "Warning", - "message": "Incorrect Document Server URL" - } - } - - @api.model - def save_config_values(self): - if validation_utils.valid_url(self.doc_server_public_url): - config_utils.set_doc_server_public_url(self.env, self.doc_server_public_url) - if validation_utils.valid_url(self.doc_server_odoo_url): - config_utils.set_doc_server_odoo_url(self.env, self.doc_server_odoo_url) - if validation_utils.valid_url(self.doc_server_inner_url): - config_utils.set_doc_server_inner_url(self.env, self.doc_server_inner_url) - config_utils.set_jwt_secret(self.env, self.doc_server_jwt_secret) - config_utils.set_jwt_header(self.env, self.doc_server_jwt_header) - config_utils.set_demo(self.env, self.doc_server_demo) - - def set_values(self): - res = super().set_values() - сurrent_demo_state = config_utils.get_demo(self.env) - if not сurrent_demo_state and not self.doc_server_demo: - validation_utils.settings_validation(self) - self.save_config_values() - - return res - - def get_values(self): - res = super().get_values() - - doc_server_public_url = config_utils.get_doc_server_public_url(self.env) - doc_server_odoo_url = config_utils.get_base_or_odoo_url(self.env) - doc_server_inner_url = config_utils.get_doc_server_inner_url(self.env) - doc_server_jwt_secret = config_utils.get_jwt_secret(self.env) - doc_server_jwt_header = config_utils.get_jwt_header(self.env) - doc_server_demo = config_utils.get_demo(self.env) - - res.update( - doc_server_public_url=doc_server_public_url, - doc_server_odoo_url=doc_server_odoo_url, - doc_server_inner_url=doc_server_inner_url, - doc_server_jwt_secret=doc_server_jwt_secret, - doc_server_jwt_header=doc_server_jwt_header, - doc_server_demo=doc_server_demo - ) - - return res - diff --git a/onlyoffice_odoo/static/assets/document_templates/AUTHORS.md b/onlyoffice_odoo/static/assets/document_templates/AUTHORS.md deleted file mode 100644 index 686d12b0b..000000000 --- a/onlyoffice_odoo/static/assets/document_templates/AUTHORS.md +++ /dev/null @@ -1,4 +0,0 @@ -# Authors - -* Ascensio System SIA: - diff --git a/onlyoffice_odoo/static/assets/document_templates/LICENSE b/onlyoffice_odoo/static/assets/document_templates/LICENSE deleted file mode 100644 index 261eeb9e9..000000000 --- a/onlyoffice_odoo/static/assets/document_templates/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/onlyoffice_odoo/static/assets/document_templates/README.md b/onlyoffice_odoo/static/assets/document_templates/README.md deleted file mode 100644 index 796bb37b3..000000000 --- a/onlyoffice_odoo/static/assets/document_templates/README.md +++ /dev/null @@ -1,13 +0,0 @@ -## Overview - -Template files used to create new documents and documents with sample content in: - -* [Jira ONLYOFFICE integration app](https://github.com/ONLYOFFICE/onlyoffice-jira) -* [HumHub ONLYOFFICE integration plugin](https://github.com/ONLYOFFICE/onlyoffice-humhub) -* [Liferay ONLYOFFICE Connector](https://github.com/ONLYOFFICE/onlyoffice-liferay) -* [Nextcloud ONLYOFFICE integration app](https://github.com/ONLYOFFICE/onlyoffice-nextcloud) -* [Nuxeo ONLYOFFICE integration plugin](https://github.com/ONLYOFFICE/onlyoffice-nuxeo) -* [ONLYOFFICE App for Pipedrive](https://github.com/onlyoffice/onlyoffice-pipedrive) -* [ONLYOFFICE DocSpace App for Zoom](https://github.com/onlyoffice/onlyoffice-docspace-zoom) -* [ownCloud ONLYOFFICE integration app](https://github.com/onlyoffice/onlyoffice-owncloud) -* [Plone ONLYOFFICE integration plugin](https://github.com/onlyoffice/onlyoffice-plone) diff --git a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.docx b/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.docx deleted file mode 100644 index 648149fe7..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.pdf b/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.pdf deleted file mode 100644 index c37599bfd..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.pptx b/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.pptx deleted file mode 100644 index 284c121a6..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.xlsx deleted file mode 100644 index 5881eb89b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ar-SA/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.docx b/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.docx deleted file mode 100644 index 97b6bf51a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.pdf b/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.pdf deleted file mode 100644 index ed5f73aa9..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.pptx b/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.pptx deleted file mode 100644 index cedc47f6a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.xlsx deleted file mode 100644 index b0e5163ee..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/az-Latn-AZ/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.docx b/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.docx deleted file mode 100644 index c02cc4e92..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.pdf b/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.pdf deleted file mode 100644 index c77cb93f3..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.pptx b/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.pptx deleted file mode 100644 index ed634d551..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.xlsx deleted file mode 100644 index 40d6e6f13..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/bg-BG/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.docx b/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.docx deleted file mode 100644 index 6fec2145b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.pdf b/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.pdf deleted file mode 100644 index 9ee58dc38..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.pptx b/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.pptx deleted file mode 100644 index 89cae8e45..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.xlsx deleted file mode 100644 index 3d91bd807..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/cs-CZ/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.docx b/onlyoffice_odoo/static/assets/document_templates/de-DE/new.docx deleted file mode 100644 index 8392e8197..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.pdf b/onlyoffice_odoo/static/assets/document_templates/de-DE/new.pdf deleted file mode 100644 index 73a6cdb60..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.pptx b/onlyoffice_odoo/static/assets/document_templates/de-DE/new.pptx deleted file mode 100644 index 8ed32bd7d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/de-DE/new.xlsx deleted file mode 100644 index b9c3eee6f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/de-DE/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.docx b/onlyoffice_odoo/static/assets/document_templates/el-GR/new.docx deleted file mode 100644 index d71c7467f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.pdf b/onlyoffice_odoo/static/assets/document_templates/el-GR/new.pdf deleted file mode 100644 index 53c65339b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.pptx b/onlyoffice_odoo/static/assets/document_templates/el-GR/new.pptx deleted file mode 100644 index 4b2ebd572..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/el-GR/new.xlsx deleted file mode 100644 index 03e2f959b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/el-GR/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.docx b/onlyoffice_odoo/static/assets/document_templates/en-GB/new.docx deleted file mode 100644 index 1842f7a58..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.pdf b/onlyoffice_odoo/static/assets/document_templates/en-GB/new.pdf deleted file mode 100644 index ec490f8ce..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.pptx b/onlyoffice_odoo/static/assets/document_templates/en-GB/new.pptx deleted file mode 100644 index 2d8a9edc5..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/en-GB/new.xlsx deleted file mode 100644 index 2cd0da346..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-GB/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-US/new.docx b/onlyoffice_odoo/static/assets/document_templates/en-US/new.docx deleted file mode 100644 index 3a8979809..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-US/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-US/new.pdf b/onlyoffice_odoo/static/assets/document_templates/en-US/new.pdf deleted file mode 100644 index 94bfad30a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-US/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-US/new.pptx b/onlyoffice_odoo/static/assets/document_templates/en-US/new.pptx deleted file mode 100644 index df6dff517..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-US/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/en-US/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/en-US/new.xlsx deleted file mode 100644 index 1289bac43..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/en-US/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.docx b/onlyoffice_odoo/static/assets/document_templates/es-ES/new.docx deleted file mode 100644 index ac9e57464..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.pdf b/onlyoffice_odoo/static/assets/document_templates/es-ES/new.pdf deleted file mode 100644 index 4b9e831ff..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.pptx b/onlyoffice_odoo/static/assets/document_templates/es-ES/new.pptx deleted file mode 100644 index b8dd1489a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/es-ES/new.xlsx deleted file mode 100644 index 03d8d0cc5..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/es-ES/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.docx b/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.docx deleted file mode 100644 index 355e2431b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.pdf b/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.pdf deleted file mode 100644 index a2ef8e2b4..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.pptx b/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.pptx deleted file mode 100644 index 24c0094e2..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.xlsx deleted file mode 100644 index 1f6e8339b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/eu-ES/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.docx b/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.docx deleted file mode 100644 index 0e3a9699d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.pdf b/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.pdf deleted file mode 100644 index 3fd2db07a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.pptx b/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.pptx deleted file mode 100644 index 13c3e4daa..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.xlsx deleted file mode 100644 index df986ff8c..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/fr-FR/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.docx b/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.docx deleted file mode 100644 index 9d116ef32..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.pdf b/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.pdf deleted file mode 100644 index e4fbbae06..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.pptx b/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.pptx deleted file mode 100644 index b1eea03ea..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.xlsx deleted file mode 100644 index 5aaf794af..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/gl-ES/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.docx b/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.docx deleted file mode 100644 index e8c2a29f3..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.pdf b/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.pdf deleted file mode 100644 index e4fed935c..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.pptx b/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.pptx deleted file mode 100644 index e7b0e1cdc..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.xlsx deleted file mode 100644 index 095dc050b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/hy-AM/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.docx b/onlyoffice_odoo/static/assets/document_templates/it-IT/new.docx deleted file mode 100644 index 9fea7eb1a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.pdf b/onlyoffice_odoo/static/assets/document_templates/it-IT/new.pdf deleted file mode 100644 index 4cf6edd06..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.pptx b/onlyoffice_odoo/static/assets/document_templates/it-IT/new.pptx deleted file mode 100644 index 7e5e2864c..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/it-IT/new.xlsx deleted file mode 100644 index 24f63f519..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/it-IT/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.docx b/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.docx deleted file mode 100644 index d4a5cff7d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.pdf b/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.pdf deleted file mode 100644 index 1ec71cd9e..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.pptx b/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.pptx deleted file mode 100644 index b7a6c639c..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.xlsx deleted file mode 100644 index cee888a33..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ja-JP/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.docx b/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.docx deleted file mode 100644 index e091766d7..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.pdf b/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.pdf deleted file mode 100644 index 735e2ebc3..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.pptx b/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.pptx deleted file mode 100644 index 431b5e1f9..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.xlsx deleted file mode 100644 index 1709b8cb5..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ko-KR/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.docx b/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.docx deleted file mode 100644 index 19a8a32aa..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.pdf b/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.pdf deleted file mode 100644 index 9986452f6..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.pptx b/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.pptx deleted file mode 100644 index 2b4d410fe..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.xlsx deleted file mode 100644 index cbb825838..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/lv-LV/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.docx b/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.docx deleted file mode 100644 index aa5af48f9..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.pdf b/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.pdf deleted file mode 100644 index 3aebad7f4..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.pptx b/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.pptx deleted file mode 100644 index a1b5e1201..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.xlsx deleted file mode 100644 index faf3f9319..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ms-MY/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.docx b/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.docx deleted file mode 100644 index 27ea1ef50..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.pdf b/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.pdf deleted file mode 100644 index 2a8e37fc3..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.pptx b/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.pptx deleted file mode 100644 index 573ff806f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.xlsx deleted file mode 100644 index 339d4b63d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/nl-NL/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.docx b/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.docx deleted file mode 100644 index ded676ec3..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.pdf b/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.pdf deleted file mode 100644 index 80e0d6b46..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.pptx b/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.pptx deleted file mode 100644 index 55ec2545e..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.xlsx deleted file mode 100644 index 4c2a5a145..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pl-PL/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.docx b/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.docx deleted file mode 100644 index 513e3ecd8..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.pdf b/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.pdf deleted file mode 100644 index 4697fb167..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.pptx b/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.pptx deleted file mode 100644 index a03d6b411..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.xlsx deleted file mode 100644 index 935bbf24a..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-BR/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.docx b/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.docx deleted file mode 100644 index 99860a365..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.pdf b/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.pdf deleted file mode 100644 index b323955db..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.pptx b/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.pptx deleted file mode 100644 index eaa157894..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.xlsx deleted file mode 100644 index cbe0719f4..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/pt-PT/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.docx b/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.docx deleted file mode 100644 index 31ec56766..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.pdf b/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.pdf deleted file mode 100644 index 6afddad14..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.pptx b/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.pptx deleted file mode 100644 index 8a1294d75..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.xlsx deleted file mode 100644 index ca70e595f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/ru-RU/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.docx b/onlyoffice_odoo/static/assets/document_templates/si-LK/new.docx deleted file mode 100644 index f8ec65307..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.pdf b/onlyoffice_odoo/static/assets/document_templates/si-LK/new.pdf deleted file mode 100644 index f2cd30593..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.pptx b/onlyoffice_odoo/static/assets/document_templates/si-LK/new.pptx deleted file mode 100644 index 03da112c8..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/si-LK/new.xlsx deleted file mode 100644 index c874d0606..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/si-LK/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.docx b/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.docx deleted file mode 100644 index a2e8be5e1..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.pdf b/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.pdf deleted file mode 100644 index 3674863e7..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.pptx b/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.pptx deleted file mode 100644 index 43d5ec6d1..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.xlsx deleted file mode 100644 index 4eb17a37c..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sk-SK/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.docx b/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.docx deleted file mode 100644 index 2936d2fe0..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.pdf b/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.pdf deleted file mode 100644 index f653c6d1d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.pptx b/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.pptx deleted file mode 100644 index 2fc64b858..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.xlsx deleted file mode 100644 index 9cb81baad..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Cyrl-RS/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.docx b/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.docx deleted file mode 100644 index 66090f932..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.pdf b/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.pdf deleted file mode 100644 index 635d5d871..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.pptx b/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.pptx deleted file mode 100644 index 78da1c438..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.xlsx deleted file mode 100644 index 31295408f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sr-Latn-RS/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.docx b/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.docx deleted file mode 100644 index 19434133f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.pdf b/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.pdf deleted file mode 100644 index 8071ea07e..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.pptx b/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.pptx deleted file mode 100644 index e5fd24ea2..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.xlsx deleted file mode 100644 index 699950caf..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/sv-SE/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.docx b/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.docx deleted file mode 100644 index 35693b821..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.pdf b/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.pdf deleted file mode 100644 index 555090b97..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.pptx b/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.pptx deleted file mode 100644 index c5f51070b..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.xlsx deleted file mode 100644 index 80444c520..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/tr-TR/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.docx b/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.docx deleted file mode 100644 index 425924ba8..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.pdf b/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.pdf deleted file mode 100644 index 4eedc55d6..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.pptx b/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.pptx deleted file mode 100644 index 681486b18..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.xlsx deleted file mode 100644 index c1029c902..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/uk-UA/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.docx b/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.docx deleted file mode 100644 index ed0a2e45d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.pdf b/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.pdf deleted file mode 100644 index 126aaf4d2..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.pptx b/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.pptx deleted file mode 100644 index 65151620d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.xlsx deleted file mode 100644 index 33bad0f6d..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/vi-VN/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.docx b/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.docx deleted file mode 100644 index 8744772ab..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.pdf b/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.pdf deleted file mode 100644 index f10cbd36f..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.pptx b/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.pptx deleted file mode 100644 index 48456d793..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.xlsx deleted file mode 100644 index 31892f460..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-CN/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.docx b/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.docx deleted file mode 100644 index a1add7556..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.docx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.pdf b/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.pdf deleted file mode 100644 index c18403b49..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.pdf and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.pptx b/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.pptx deleted file mode 100644 index a3d767ab4..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.pptx and /dev/null differ diff --git a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.xlsx b/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.xlsx deleted file mode 100644 index d34714cca..000000000 Binary files a/onlyoffice_odoo/static/assets/document_templates/zh-TW/new.xlsx and /dev/null differ diff --git a/onlyoffice_odoo/static/description/discuss_section.png b/onlyoffice_odoo/static/description/discuss_section.png deleted file mode 100644 index c0c0635aa..000000000 Binary files a/onlyoffice_odoo/static/description/discuss_section.png and /dev/null differ diff --git a/onlyoffice_odoo/static/description/document.png b/onlyoffice_odoo/static/description/document.png deleted file mode 100644 index add930231..000000000 Binary files a/onlyoffice_odoo/static/description/document.png and /dev/null differ diff --git a/onlyoffice_odoo/static/description/editor_icons/cell.ico b/onlyoffice_odoo/static/description/editor_icons/cell.ico deleted file mode 100644 index 05ecd8c04..000000000 Binary files a/onlyoffice_odoo/static/description/editor_icons/cell.ico and /dev/null differ diff --git a/onlyoffice_odoo/static/description/editor_icons/slide.ico b/onlyoffice_odoo/static/description/editor_icons/slide.ico deleted file mode 100644 index 888c7a853..000000000 Binary files a/onlyoffice_odoo/static/description/editor_icons/slide.ico and /dev/null differ diff --git a/onlyoffice_odoo/static/description/editor_icons/word.ico b/onlyoffice_odoo/static/description/editor_icons/word.ico deleted file mode 100644 index 31f9ca413..000000000 Binary files a/onlyoffice_odoo/static/description/editor_icons/word.ico and /dev/null differ diff --git a/onlyoffice_odoo/static/description/icon.png b/onlyoffice_odoo/static/description/icon.png deleted file mode 100644 index a6c220a82..000000000 Binary files a/onlyoffice_odoo/static/description/icon.png and /dev/null differ diff --git a/onlyoffice_odoo/static/description/index.html b/onlyoffice_odoo/static/description/index.html deleted file mode 100644 index ddd88ca07..000000000 --- a/onlyoffice_odoo/static/description/index.html +++ /dev/null @@ -1,74 +0,0 @@ -
-
- -

Edit and collaborate on office files within Odoo Documents

-
- -

- Work with office documents uploaded in Odoo using ONLYOFFICE Docs.
- *In any Odoo section where you can upload/attach files -

-
-
- -
-
- -
-
- -
-
Edit attached deal notes in the Sales section -
-
- -
-
- -
-
- -
-
- -
-
- -
-
Open chat attachments in the Discuss section -
-
- -
-
- -
-
- -
-
- -
-
- -
-
Features and file formats
-
- -
-
    -
  • Edit text documents, spreadsheets, and presentations (DOCX, XLSX, PPTX)
  • -
  • Collaborate on documents with your colleagues in real time
  • -
  • Edit form templates in PDF
  • -
  • Read PDF files
  • -
  • Open other office file formats for viewing, including RTF, TXT, CSV, etc.
  • - -
- -
- -
-
- -
-
\ No newline at end of file diff --git a/onlyoffice_odoo/static/description/main_screenshot.png b/onlyoffice_odoo/static/description/main_screenshot.png deleted file mode 100644 index a3bc71e62..000000000 Binary files a/onlyoffice_odoo/static/description/main_screenshot.png and /dev/null differ diff --git a/onlyoffice_odoo/static/description/sales_section.png b/onlyoffice_odoo/static/description/sales_section.png deleted file mode 100644 index 2bfff778b..000000000 Binary files a/onlyoffice_odoo/static/description/sales_section.png and /dev/null differ diff --git a/onlyoffice_odoo/static/description/settings.png b/onlyoffice_odoo/static/description/settings.png deleted file mode 100644 index bbfedd5c3..000000000 Binary files a/onlyoffice_odoo/static/description/settings.png and /dev/null differ diff --git a/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml b/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml deleted file mode 100644 index 7b3b6f11a..000000000 --- a/onlyoffice_odoo/static/src/components/attachment_card_onlyoffice/attachment_card_onlyoffice.xml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - -
- -
-
-
-
\ No newline at end of file diff --git a/onlyoffice_odoo/static/src/css/onlyoffice_link_container.png b/onlyoffice_odoo/static/src/css/onlyoffice_link_container.png deleted file mode 100644 index 372532c98..000000000 Binary files a/onlyoffice_odoo/static/src/css/onlyoffice_link_container.png and /dev/null differ diff --git a/onlyoffice_odoo/static/src/css/onlyoffice_link_container_mobile.png b/onlyoffice_odoo/static/src/css/onlyoffice_link_container_mobile.png deleted file mode 100644 index 889098137..000000000 Binary files a/onlyoffice_odoo/static/src/css/onlyoffice_link_container_mobile.png and /dev/null differ diff --git a/onlyoffice_odoo/static/src/css/res_config_settings_views.css b/onlyoffice_odoo/static/src/css/res_config_settings_views.css deleted file mode 100644 index 0c198fb13..000000000 --- a/onlyoffice_odoo/static/src/css/res_config_settings_views.css +++ /dev/null @@ -1,44 +0,0 @@ -.onlyoffice_link_container { - width: 549px; - height: 116px; - position: relative; - border-left: 0; - background-image: url("/onlyoffice_odoo/static/src/css/onlyoffice_link_container.png"); - background-size: contain; -} - -.onlyoffice_link_button { - display: flex; - align-items: center; - justify-content: center; - position: absolute; - min-width: 93px; - max-width: 120px; - max-height: 40px; - padding: 5px 0; - background-color: #71639E; - color: white; - font-family: 'SF UI Display', sans-serif; - text-align: center; - font-weight: 500; - border-radius: 3px; - top: 40.5px; - right: 14px; -} - -@media (max-width: 767px) { - .onlyoffice_link_container { - width: 345px; - height: 169px; - background-image: url("/onlyoffice_odoo/static/src/css/onlyoffice_link_container_mobile.png"); - } - - .onlyoffice_link_button { - width: 77px; - height: 34px; - bottom: 16px; - left: 20px; - top: unset; - right: unset; - } -} \ No newline at end of file diff --git a/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js b/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js deleted file mode 100644 index d95a0391a..000000000 --- a/onlyoffice_odoo/static/src/models/attachment_card_onlyoffice.js +++ /dev/null @@ -1,100 +0,0 @@ -/** @odoo-module **/ - -/* - * - * (c) Copyright Ascensio System SIA 2024 - * -*/ - -import { AttachmentList } from "@mail/core/common/attachment_list"; -import { patch } from "@web/core/utils/patch"; -import { _t } from "@web/core/l10n/translation"; -import { useService } from "@web/core/utils/hooks"; - -const oo_editable_formats = [ - "docx", - "xlsx", - "pptx", - "pdf", -] - -const oo_viewable_formats = [ - "djvu", - "doc", - "docm", - "docxf", - "dot", - "dotm", - "dotx", - "epub", - "fb2", - "fodt", - "html", - "mht", - "odt", - "ott", - "oxps", - "rtf", - "txt", - "xps", - "xml", - "csv", - "fods", - "ods", - "ots", - "xls", - "xlsb", - "xlsm", - "xlt", - "xltm", - "xltx", - "fodp", - "odp", - "otp", - "pot", - "potm", - "potx", - "pps", - "ppsm", - "ppsx", - "ppt", - "pptm", -]; - -patch(AttachmentList.prototype, { - setup() { - super.setup(...arguments); - this.orm = useService("orm"); - this.notification = useService("notification"); - }, - onlyofficeCanOpen(attachment) { - return oo_editable_formats.includes(attachment.extension) || oo_viewable_formats.includes(attachment.extension); - }, - async openOnlyoffice(attachment) { - var demo = await this.orm.call("ir.config_parameter", "get_param", [ - "onlyoffice_connector.doc_server_demo", - ]); - var demoDate = await this.orm.call("ir.config_parameter", "get_param", [ - "onlyoffice_connector.doc_server_demo_date", - ]); - demoDate = new Date(Date.parse(demoDate)) - if (demo && demoDate && demoDate instanceof Date) { - const today = new Date(); - const difference = Math.floor((today - new Date(Date.parse(demoDate))) / (1000 * 60 * 60 * 24)); - if (difference > 30) { - this.notification.add( - _t( - "The 30-day test period is over, you can no longer connect to demo ONLYOFFICE Docs server" - ), - { - title: _t("ONLYOFFICE Docs server"), - type: 'warning', - } - ); - return; - } - } - const accessTokenQuery = attachment.accessToken ? `?access_token=${attachment.accessToken}` : ''; - window.open(`/onlyoffice/editor/${attachment.id}${accessTokenQuery}`, '_blank'); - } -}); \ No newline at end of file diff --git a/onlyoffice_odoo/static/svg/edit.svg b/onlyoffice_odoo/static/svg/edit.svg deleted file mode 100644 index ca8f3cdc3..000000000 --- a/onlyoffice_odoo/static/svg/edit.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/onlyoffice_odoo/static/svg/logo.svg b/onlyoffice_odoo/static/svg/logo.svg deleted file mode 100644 index 2b5d93218..000000000 --- a/onlyoffice_odoo/static/svg/logo.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/onlyoffice_odoo/utils/config_constants.py b/onlyoffice_odoo/utils/config_constants.py deleted file mode 100644 index 4fbb9edc4..000000000 --- a/onlyoffice_odoo/utils/config_constants.py +++ /dev/null @@ -1,13 +0,0 @@ -# -# (c) Copyright Ascensio System SIA 2024 -# - -DOC_SERVER_PUBLIC_URL = "onlyoffice_connector.doc_server_public_url" -DOC_SERVER_ODOO_URL = "onlyoffice_connector.doc_server_odoo_url" -DOC_SERVER_INNER_URL = "onlyoffice_connector.doc_server_inner_url" -DOC_SERVER_JWT_SECRET = "onlyoffice_connector.doc_server_jwt_secret" -DOC_SERVER_JWT_HEADER = "onlyoffice_connector.doc_server_jwt_header" -DOC_SERVER_DEMO = "onlyoffice_connector.doc_server_demo" -DOC_SERVER_DEMO_DATE = "onlyoffice_connector.doc_server_demo_date" - -INTERNAL_JWT_SECRET = "onlyoffice_connector.internal_jwt_secret" \ No newline at end of file diff --git a/onlyoffice_odoo/utils/config_utils.py b/onlyoffice_odoo/utils/config_utils.py deleted file mode 100644 index af20f2cb4..000000000 --- a/onlyoffice_odoo/utils/config_utils.py +++ /dev/null @@ -1,95 +0,0 @@ -# -# (c) Copyright Ascensio System SIA 2024 -# - -import uuid -from datetime import date - -from odoo.addons.onlyoffice_odoo.utils import config_constants - -def get_base_or_odoo_url(env): - url = env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_ODOO_URL) - return fix_url(url or env["ir.config_parameter"].sudo().get_param("web.base.url")) - -def get_doc_server_public_url(env): - url = env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_PUBLIC_URL) - if not url: - url = "http://documentserver/" - return fix_url(url) - -def get_doc_server_inner_url(env): - url = env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_INNER_URL) - return fix_url(url or get_doc_server_public_url(env)) - -def get_jwt_header(env): - header = env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_JWT_HEADER) - if not header: - header = "Authorization" - return header - -def get_jwt_secret(env): - return env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_JWT_SECRET) - -def get_internal_jwt_secret(env): - secret = env["ir.config_parameter"].sudo().get_param(config_constants.INTERNAL_JWT_SECRET) - if not secret: - secret = uuid.uuid4().hex - env["ir.config_parameter"].set_param(config_constants.INTERNAL_JWT_SECRET, secret) - - return secret - -def get_demo(env): - return env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_DEMO) - -def get_demo_date(env): - return env["ir.config_parameter"].sudo().get_param(config_constants.DOC_SERVER_DEMO_DATE) - -def set_doc_server_public_url(env, url): - if not url: - url = "http://documentserver/" - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_PUBLIC_URL, fix_url(url)) - -def set_doc_server_odoo_url(env, url): - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_ODOO_URL, fix_url(url)) - -def set_doc_server_inner_url(env, url): - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_INNER_URL, fix_url(url)) - -def set_jwt_header(env, header): - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_JWT_HEADER, header) - -def set_jwt_secret(env, secret): - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_JWT_SECRET, secret) - -def set_demo(env, param): - demo = get_demo(env) - demo_date = get_demo_date(env) - if not demo_date: - set_demo_date(env) - if param: - set_doc_server_public_url(env, "https://onlinedocs.onlyoffice.com/") - set_doc_server_odoo_url(env, "") - set_doc_server_inner_url(env, "") - set_jwt_header(env, "AuthorizationJWT") - set_jwt_secret(env, "sn2puSUF7muF5Jas") - elif demo and not param: - set_doc_server_public_url(env, "http://documentserver/") - set_doc_server_odoo_url(env, "") - set_doc_server_inner_url(env, "") - set_jwt_header(env, "Authorization") - set_jwt_secret(env, "") - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_DEMO, param) - -def set_demo_date(env): - demo_date = date.today() - env["ir.config_parameter"].sudo().set_param(config_constants.DOC_SERVER_DEMO_DATE, demo_date) - -def fix_url(url): - if url: - return fix_end_slash(fix_proto(url)) - -def fix_proto(url): - return url if url.startswith("http") else ("http://" + url) - -def fix_end_slash(url): - return url if url.endswith("/") else (url + "/") \ No newline at end of file diff --git a/onlyoffice_odoo/utils/file_utils.py b/onlyoffice_odoo/utils/file_utils.py deleted file mode 100644 index fe7e7e1cf..000000000 --- a/onlyoffice_odoo/utils/file_utils.py +++ /dev/null @@ -1,135 +0,0 @@ -# -# (c) Copyright Ascensio System SIA 2024 -# - -import os - -from odoo.addons.onlyoffice_odoo.utils import format_utils - - -def get_file_title_without_ext(name): - ind = name.rfind(".") - return name[:ind] - - -def get_file_name_without_ext(name): - ind = name.rfind(".") - return name[:ind] - - -def get_file_ext(name): - return name[name.rfind(".") + 1 :].lower() - - -def get_file_type(context): - for format in format_utils.get_supported_formats(): - if format.name == get_file_ext(context): - return format.type - - return None - - -def can_view(context): - for format in format_utils.get_supported_formats(): - if format.name == get_file_ext(context): - return True - - return False - - -def can_edit(context): - for format in format_utils.get_supported_formats(): - if format.name == get_file_ext(context): - return format.edit - - return False - - -def can_fill_form(context): - for format in format_utils.get_supported_formats(): - if format.name == get_file_ext(context): - return format.fillForm - - return False - - -def get_default_ext_by_type(str): - if str == "word": - return "docx" - if str == "cell": - return "xlsx" - if str == "slide": - return "pptx" - if str == "form": - return "pdf" - - return None - - -def get_default_name_by_type(str): - if str == "word": - return "Document" - if str == "cell": - return "Spreadsheet" - if str == "slide": - return "Presentation" - if str == "form": - return "PDF form" - - return None - -def get_mime_by_ext(str): - if str == "docx": - return "application/vnd.openxmlformats-officedocument.wordprocessingml.document" - if str == "xlsx": - return "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" - if str == "pptx": - return "application/vnd.openxmlformats-officedocument.presentationml.presentation" - if str == "pdf": - return "application/pdf" - - return None - -def get_default_file_template(lang, ext): - locale_path = { - "az": "az-Latn-AZ", - "bg": "bg-BG", - "cs": "cs-CZ", - "de": "de-DE", - "el": "el-GR", - "en-gb": "en-GB", - "en": "en-US", - "es": "es-ES", - "fr": "fr-FR", - "it": "it-IT", - "ja": "ja-JP", - "ko": "ko-KR", - "lv": "lv-LV", - "nl": "nl-NL", - "pl": "pl-PL", - "pt-br": "pt-BR", - "pt": "pt-PT", - "ru": "ru-RU", - "sk": "sk-SK", - "sv": "sv-SE", - "uk": "uk-UA", - "vi": "vi-VN", - "zh": "zh-CN", - } - - lang = lang.replace("_", "-") - - locale = locale_path.get(lang) - if locale is None: - lang = lang.split("-")[0] - locale = locale_path.get(lang) - if locale is None: - locale = locale_path.get("en") - - file = open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "static", "assets", "document_templates", locale, "new." + ext), "rb") - - try: - file_data = file.read() - return file_data - finally: - file.close() \ No newline at end of file diff --git a/onlyoffice_odoo/utils/format_utils.py b/onlyoffice_odoo/utils/format_utils.py deleted file mode 100644 index 99201faa5..000000000 --- a/onlyoffice_odoo/utils/format_utils.py +++ /dev/null @@ -1,73 +0,0 @@ -# -# (c) Copyright Ascensio System SIA 2024 -# - - -class Format: - def __init__(self, name, type, edit=False, fill_form=False, convert_to=[]): - self.name = name - self.type = type - self.edit = edit - self.fill_form = fill_form - self.convert_to = convert_to - - -def get_supported_formats(): - return [ - Format("djvu", "pdf"), - Format("doc", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("docm", "word", convert_to=["docx", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format( - "docx", - "word", - True, - convert_to=["docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"], - ), - Format("docxf", "pdf", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("dot", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("dotm", "word", convert_to=["docx", "docm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("dotx", "word", convert_to=["docx", "docm", "dotm", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("epub", "word", convert_to=["docx", "docm", "dotm", "dotx", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("fb2", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("fodt", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("html", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("mht", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("odt", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("ott", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "pdf", "pdfa", "rtf", "txt"]), - Format("oxps", "pdf", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format( - "pdf", - "pdf", - True, - convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdfa", "rtf", "txt"], - fill_form=True - ), - Format("rtf", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "txt"]), - Format("txt", "word"), - Format("xps", "pdf", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("xml", "word", convert_to=["docx", "docm", "dotm", "dotx", "epub", "fb2", "html", "odt", "ott", "pdf", "pdfa", "rtf", "txt"]), - Format("oform", "pdf"), - Format("csv", "cell"), - Format("fods", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("ods", "cell", convert_to=["xlsx", "csv", "ots", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("ots", "cell", convert_to=["xlsx", "csv", "ods", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("xls", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("xlsb", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("xlsm", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xltm", "xltx"]), - Format("xlsx", "cell", True, convert_to=["csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("xlt", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltm", "xltx"]), - Format("xltm", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltx"]), - Format("xltx", "cell", convert_to=["xlsx", "csv", "ods", "ots", "pdf", "pdfa", "xlsm", "xltm"]), - Format("fodp", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("odp", "slide", convert_to=["pptx", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("otp", "slide", convert_to=["pptx", "odp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("pot", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("potm", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potx", "pptm"]), - Format("potx", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "pptm"]), - Format("pps", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("ppsm", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("ppsx", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("ppt", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - Format("pptm", "slide", convert_to=["pptx", "odp", "otp", "pdf", "pdfa", "potm", "potx"]), - Format("pptx", "slide", True, convert_to=["odp", "otp", "pdf", "pdfa", "potm", "potx", "pptm"]), - ] diff --git a/onlyoffice_odoo/utils/jwt_utils.py b/onlyoffice_odoo/utils/jwt_utils.py deleted file mode 100644 index d4d4f7e96..000000000 --- a/onlyoffice_odoo/utils/jwt_utils.py +++ /dev/null @@ -1,20 +0,0 @@ -# -# (c) Copyright Ascensio System SIA 2024 -# - -import jwt - -from odoo.addons.onlyoffice_odoo.utils import config_utils - -def is_jwt_enabled(env): - return bool(config_utils.get_jwt_secret(env)) - -def encode_payload(env, payload, secret = None): - if (secret is None): - secret = config_utils.get_jwt_secret(env) - return jwt.encode(payload, secret, algorithm="HS256") - -def decode_token(env, token, secret = None): - if (secret is None): - secret = config_utils.get_jwt_secret(env) - return jwt.decode(token, secret, algorithms=['HS256']) \ No newline at end of file diff --git a/onlyoffice_odoo/utils/url_utils.py b/onlyoffice_odoo/utils/url_utils.py deleted file mode 100644 index b1e9dd7fd..000000000 --- a/onlyoffice_odoo/utils/url_utils.py +++ /dev/null @@ -1,9 +0,0 @@ -from odoo.addons.onlyoffice_odoo.utils import config_utils - - -def replace_public_url_to_internal(env, url): - public_url = config_utils.get_doc_server_public_url(env) - inner_url = config_utils.get_doc_server_inner_url(env) - if inner_url: # add demo mode check - url = url.replace(public_url, inner_url) - return url \ No newline at end of file diff --git a/onlyoffice_odoo/utils/validation_utils.py b/onlyoffice_odoo/utils/validation_utils.py deleted file mode 100644 index afbf477e1..000000000 --- a/onlyoffice_odoo/utils/validation_utils.py +++ /dev/null @@ -1,155 +0,0 @@ -from odoo.addons.onlyoffice_odoo.utils import jwt_utils -from odoo.exceptions import ValidationError - -from urllib.request import urlopen -import json -import os -import re -import requests -import time - -def valid_url(url): - if not url: - return True - pattern = "^(https?:\/\/)?[\w-]{1,32}(\.[\w-]{1,32})*[\/\w-]*(:[\d]{1,5}\/?)?$" - if re.findall(pattern, url): - return True - return False - -def settings_validation(self): - base_url = self.env["ir.config_parameter"].get_param("web.base.url") - public_url = self.doc_server_public_url - jwt_secret = self.doc_server_jwt_secret - jwt_header = self.doc_server_jwt_header - demo = self.doc_server_demo - - check_mixed_content(base_url, public_url, demo) - check_doc_serv_url(public_url, demo) - check_doc_serv_command_service(self.env, public_url, jwt_secret, jwt_header, demo) - check_doc_serv_convert_service(self.env, public_url, base_url, jwt_secret, jwt_header, demo) - -def check_mixed_content(base_url, public_url, demo): - if (base_url.startswith("https") and not public_url.startswith("https")): - get_message_error("Mixed Active Content is not allowed. HTTPS address for Document Server is required.", demo) - -def check_doc_serv_url(public_url, demo): - try: - response = urlopen(os.path.join(public_url, "healthcheck")) - healthcheck = response.read() - - if not healthcheck: - get_message_error(os.path.join(public_url, "healthcheck") + " returned false.", demo) - - except ValidationError as e: - get_message_error(str(e), demo) - except Exception: - get_message_error("ONLYOFFICE cannot be reached", demo) - - -def check_doc_serv_command_service(env, url, jwt_secret, jwt_header, demo): - try: - headers = {"Content-Type": "application/json"} - body_json = {"c": "version"} - - if jwt_secret != None and jwt_secret != False and jwt_secret != "": - payload = {"payload": body_json} - - header_token = jwt_utils.encode_payload(env, payload, jwt_secret) - headers[jwt_header] = "Bearer " + header_token - - token = jwt_utils.encode_payload(env, body_json, jwt_secret) - body_json["token"] = token - - response = requests.post( - os.path.join(url, "coauthoring/CommandService.ashx"), - data=json.dumps(body_json), - headers=headers, - ) - - if response.json()["error"] == 6: - get_message_error("Authorization error", demo) - - if response.json()["error"] != 0: - get_message_error( - os.path.join(url, "coauthoring/CommandService.ashx") - + " returned error: " - + str(response.json()["error"]), demo - ) - - except ValidationError as e: - get_message_error(str(e), demo) - except Exception: - get_message_error("Error when trying to check CommandService", demo) - - -def check_doc_serv_convert_service(env, public_url, base_url, jwt_secret, jwt_header, demo): - file_url = os.path.join(base_url, "onlyoffice/file/content/test.txt") - - result = convert(env, file_url, public_url, jwt_secret, jwt_header) - - if isinstance(result, str): - return get_message_error(result, demo) - - -def convert(env, file_url, public_url, jwt_secret, jwt_header): - body_json = { - "key": int(time.time()), - "url": file_url, - "filetype": "txt", - "outputtype": "txt", - } - - headers = { - "Content-Type": "application/json", - "Accept": "application/json", - } - - if bool(jwt_secret): - payload = {"payload": body_json} - header_token = jwt_utils.encode_payload(env, payload, jwt_secret) - headers[jwt_header] = "Bearer " + header_token - token = jwt_utils.encode_payload(env, body_json, jwt_secret) - body_json["token"] = token - - try: - response = requests.post( - os.path.join(public_url, "ConvertService.ashx"), - data = json.dumps(body_json), - headers = headers - ) - - if response.status_code == 200: - response_json = response.json() - if "error" in response_json: - return get_conversion_error_message(response_json.get("error")) - else: - return f"Document conversion service returned status {response.status_code}" - - except: - return "Document conversion service cannot be reached" - - -def get_message_error(message, demo): - if demo: - raise ValidationError(f"Error connecting to demo server: {message}") - else: - raise ValidationError(message) - - -def get_conversion_error_message(errorCode): - errorDictionary = { - -1: "Unknown error", - -2: "Conversion timeout error", - -3: "Conversion error", - -4: "Error while downloading the document file to be converted", - -5: "Incorrect password", - -6: "Error while accessing the conversion result database", - -7: "Input error", - -8: "Invalid token", - } - - try: - return errorDictionary[errorCode] - - except: - return "Undefined error code" diff --git a/onlyoffice_odoo/views/res_config_settings_views.xml b/onlyoffice_odoo/views/res_config_settings_views.xml deleted file mode 100644 index ffd5ce36e..000000000 --- a/onlyoffice_odoo/views/res_config_settings_views.xml +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - res.config.settings.view.form.inherit.onlyoffice_odoo - res.config.settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- This is a public test server, please do not use it for private sensitive data. The server will be available during a 30-day period. -
-
- - - -
-
-
-
-
- - - Settings - ir.actions.act_window - res.config.settings - - form - inline - {'module' : 'onlyoffice_odoo'} - - -
\ No newline at end of file diff --git a/onlyoffice_odoo/views/templates.xml b/onlyoffice_odoo/views/templates.xml deleted file mode 100644 index be38163a0..000000000 --- a/onlyoffice_odoo/views/templates.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onlyoffice_odoo_documents/__init__.py b/onlyoffice_odoo_documents/__init__.py deleted file mode 100644 index aa4d0fd63..000000000 --- a/onlyoffice_odoo_documents/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers -from . import models diff --git a/onlyoffice_odoo_documents/__manifest__.py b/onlyoffice_odoo_documents/__manifest__.py deleted file mode 100644 index a11f58cdc..000000000 --- a/onlyoffice_odoo_documents/__manifest__.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- -{ - 'name': "ONLYOFFICE Documents", - - 'summary': "Edit and collaborate on office files within Odoo Documents.", - - 'description': "The ONLYOFFICE connector allows users to edit and collaborate on office files within Odoo Documents using ONLYOFFICE Docs. You can work with text documents, spreadsheets, and presentations, co-author documents in real time using two co-editing modes (Fast and Strict), Track Changes, comments, and built-in chat.", - - 'author': "ONLYOFFICE", - 'website': "https://www.onlyoffice.com", - - 'category': 'Productivity', - 'version': '4.0.1', - - 'depends': ['onlyoffice_odoo', 'documents'], - - # always loaded - 'data': [ - ], - - 'license': 'LGPL-3', - 'support': 'support@onlyoffice.com', - - 'images': [ "static/description/main_screenshot.png", "static/description/editors.png", "static/description/edit_files.png", "static/description/create_files.png" ], - - 'installable': True, - 'application': True, - - 'assets': { - 'web.assets_backend': [ - 'onlyoffice_odoo_documents/static/src/models/*.js', - 'onlyoffice_odoo_documents/static/src/components/*/*.xml', - 'onlyoffice_odoo_documents/static/src/documents_view/**/*', - 'onlyoffice_odoo_documents/static/src/onlyoffice_create_template/**/*', - ], - }, -} diff --git a/onlyoffice_odoo_documents/controllers/__init__.py b/onlyoffice_odoo_documents/controllers/__init__.py deleted file mode 100644 index 457bae27e..000000000 --- a/onlyoffice_odoo_documents/controllers/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers \ No newline at end of file diff --git a/onlyoffice_odoo_documents/controllers/controllers.py b/onlyoffice_odoo_documents/controllers/controllers.py deleted file mode 100644 index 187d6fbf5..000000000 --- a/onlyoffice_odoo_documents/controllers/controllers.py +++ /dev/null @@ -1,70 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# (c) Copyright Ascensio System SIA 2024 -# - -import logging -import json - -from odoo import http -from odoo.http import request -from odoo.tools.translate import _ - -from werkzeug.exceptions import Forbidden -from odoo.exceptions import AccessError - -from odoo.addons.onlyoffice_odoo.utils import file_utils -from odoo.addons.onlyoffice_odoo.controllers.controllers import Onlyoffice_Connector - -_logger = logging.getLogger(__name__) - -class OnlyofficeDocuments_Connector(http.Controller): - @http.route("/onlyoffice/documents/file/create", auth="user", methods=["POST"], type="json") - def post_file_create(self, folder_id, format, title): - result = {"error": None, "file_id": None} - - try: - _logger.info("Getting new file template %s %s" % (request.env.user.lang, format)) - file_data = file_utils.get_default_file_template(request.env.user.lang, format) - - data = { - 'name': title + "." + format, - 'mimetype': file_utils.get_mime_by_ext(format), - 'raw': file_data, - 'folder_id': int(folder_id) - } - - document = request.env["documents.document"].create(data) - result["file_id"] = document.attachment_id.id - - except Exception as ex: - _logger.exception("Failed to create document %s" % str(ex)) - result["error"] = _("Failed to create document") - - return json.dumps(result) - -class OnlyofficeDocuments_Inherited_Connector(Onlyoffice_Connector): - @http.route("/onlyoffice/editor/document/", auth="public", type="http", website=True) - def render_document_editor(self, document_id, access_token=None): - return request.render("onlyoffice_odoo.onlyoffice_editor", self.prepare_document_editor(document_id, access_token)) - - def prepare_document_editor(self, document_id, access_token): - document = request.env['documents.document'].browse(int(document_id)) - try: - document.check_access_rule("read") - except AccessError: - _logger.error("User has no read access rights to open this document") - raise Forbidden() - - attachment = self.get_attachment(document.attachment_id.id) - if not attachment: - _logger.error("Current document has no attachments") - raise Forbidden() - - try: - document.check_access_rule("write") - return self.prepare_editor_values(attachment, access_token, True) - except AccessError: - _logger.debug("Current user has no write access") - return self.prepare_editor_values(attachment, access_token, False) \ No newline at end of file diff --git a/onlyoffice_odoo_documents/doc/index.rst b/onlyoffice_odoo_documents/doc/index.rst deleted file mode 100644 index 3631a271f..000000000 --- a/onlyoffice_odoo_documents/doc/index.rst +++ /dev/null @@ -1,31 +0,0 @@ -Prerequisites -============= - -To be able to work with office files within Odoo Enterprise, you will need an instance of ONLYOFFICE Docs. You can install the `self-hosted version`_ of the editors or opt for `ONLYOFFICE Docs`_ which doesn't require downloading and installation. - -ONLYOFFICE app configuration -============================ - -**Please note**: All the settings are configured from the `main ONLYOFFICE app for Odoo`_ which is installed automatically when you install ONLYOFFICE app for Odoo Enterprise. -To adjust the main app settings within your Odoo, go to *Home menu -> Settings -> ONLYOFFICE*. - -In the **Document Server Url**, specify the URL of the installed ONLYOFFICE Docs or the address of ONLYOFFICE Docs Cloud. - -**Document Server JWT Secret**: JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs. if you want to specify your own secret key in this field, also specify the same secret key in the ONLYOFFICE Docs `config file`_ to enable the validation. - -**Document Server JWT Header**: Standard JWT header used in ONLYOFFICE is Authorization. In case this header is in conflict with your setup, you can change the header to the custom one. - - -.. image:: settings.png - :width: 800 - - -Contact us -========== - -If you have any questions or suggestions regarding the ONLYOFFICE app for Odoo, please let us know at https://forum.onlyoffice.com - -.. _self-hosted version: https://www.onlyoffice.com/download-docs.aspx -.. _ONLYOFFICE Docs: https://www.onlyoffice.com/docs-registration.aspx -.. _config file: https://api.onlyoffice.com/editors/signature/ -.. _main ONLYOFFICE app for Odoo: https://apps.odoo.com/apps/modules/16.0/onlyoffice_odoo/ \ No newline at end of file diff --git a/onlyoffice_odoo_documents/doc/settings.png b/onlyoffice_odoo_documents/doc/settings.png deleted file mode 100644 index 5820b71b7..000000000 Binary files a/onlyoffice_odoo_documents/doc/settings.png and /dev/null differ diff --git a/onlyoffice_odoo_documents/i18n/de.po b/onlyoffice_odoo_documents/i18n/de.po deleted file mode 100644 index 50006d3d4..000000000 --- a/onlyoffice_odoo_documents/i18n/de.po +++ /dev/null @@ -1,114 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:25+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: de\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Abbrechen" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "Erstellen" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "Erstellen mit ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "Dokument" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "Dokument kann nicht erstellt werden" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "Neues Dokument" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "Neues Dokument erstellt in Dokumente" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "ONLYOFFICE Docs-Server" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "In ONLYOFFICE öffnen" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "Präsentation" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "Tabelle" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"Der 30-tägige Testzeitraum ist vorbei. Sie können sich nicht mehr mit dem " -"Demo-Server von ONLYOFFICE Docs verbinden" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "Titel" diff --git a/onlyoffice_odoo_documents/i18n/en.po b/onlyoffice_odoo_documents/i18n/en.po deleted file mode 100644 index 337d031bf..000000000 --- a/onlyoffice_odoo_documents/i18n/en.po +++ /dev/null @@ -1,112 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_documents -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240603\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 08:20+0000\n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: \n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE" -" Docs server" -msgstr "" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "" diff --git a/onlyoffice_odoo_documents/i18n/es.po b/onlyoffice_odoo_documents/i18n/es.po deleted file mode 100644 index 12d561b87..000000000 --- a/onlyoffice_odoo_documents/i18n/es.po +++ /dev/null @@ -1,114 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:26+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: es_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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Cancelar" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "Crear" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "Crear con ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "Documento" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "Error al crear documento" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "Nuevo documento" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "Nuevo documento creado en Documentos" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Servidor de ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Abrir en ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "Presentación" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "Hoja de cálculo" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"El período de prueba de 30 días ha terminado, ya no se puede conectar al " -"servidor de ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "Título" diff --git a/onlyoffice_odoo_documents/i18n/fr.po b/onlyoffice_odoo_documents/i18n/fr.po deleted file mode 100644 index 347879974..000000000 --- a/onlyoffice_odoo_documents/i18n/fr.po +++ /dev/null @@ -1,114 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:26+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: fr_FR\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Annuler" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "Créer" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "Créer avec ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "Document" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "Échec de la création du document" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "Nouveau document" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "Nouveau document créé dans Documents" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Serveur ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Ouvrir dans ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "Présentation" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "Feuille de calcul" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"La période de test de 30 jours est terminée, vous ne pouvez plus vous " -"connecter à la démo ONLYOFFICE Serveur Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "Titre" diff --git a/onlyoffice_odoo_documents/i18n/it.po b/onlyoffice_odoo_documents/i18n/it.po deleted file mode 100644 index e17ca78c2..000000000 --- a/onlyoffice_odoo_documents/i18n/it.po +++ /dev/null @@ -1,114 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:27+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: it_IT\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Annulla" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "Creare" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "Crea con ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "Documento" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "Non è stato possibile creare un documento" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "Nuovo documento" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "Nuovo documento è stato creato in Documenti" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Server ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Aprire in ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "Presentazione" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "Foglio di calcolo" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"Il periodo di prova di 30 giorni è terminato, non puoi più connetterti alla " -"demo ONLYOFFICE Docs Server" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "Titolo" diff --git a/onlyoffice_odoo_documents/i18n/ja.po b/onlyoffice_odoo_documents/i18n/ja.po deleted file mode 100644 index cad206eef..000000000 --- a/onlyoffice_odoo_documents/i18n/ja.po +++ /dev/null @@ -1,114 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:28+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "キャンセル" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "作成" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "ONLYOFFICEで作成" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "ドキュメント" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "文書の作成に失敗しました" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "新規ドキュメント" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "「文書」に新規文書が作成されました" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "ONLYOFFICE Docsサーバ" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "ONLYOFFICEで開く" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "プレゼンテーション" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "スプレッドシート" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"30日間のテスト期間が終了し、ONLYOFFICE Docsのデモサーバーに接続できなくなりま" -"した" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "タイトル" diff --git a/onlyoffice_odoo_documents/i18n/pt_BR.po b/onlyoffice_odoo_documents/i18n/pt_BR.po deleted file mode 100644 index 6590ae7e7..000000000 --- a/onlyoffice_odoo_documents/i18n/pt_BR.po +++ /dev/null @@ -1,114 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:29+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: pt_BR\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Cancelar" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "Criar" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "Crie com o ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "Documento" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "Falha ao criar documento" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "Novo Documento" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "Novo documento criado em Documentos" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Servidor ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Abrir no ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "Apresentação" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "Planilha" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"O período de teste de 30 dias acabou, você não pode mais se conectar ao " -"ONLYOFFICE de demonstração Servidor Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "Titulo" diff --git a/onlyoffice_odoo_documents/i18n/ru.po b/onlyoffice_odoo_documents/i18n/ru.po deleted file mode 100644 index 87507de35..000000000 --- a/onlyoffice_odoo_documents/i18n/ru.po +++ /dev/null @@ -1,115 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:29+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ru_RU\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Отменить" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "Создать" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "Создать с помощью ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "Документ" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "Не удалось создать документ" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "Новый документ" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "Новый документ создан в Документах" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "Сервер ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "Открыть в ONLYOFFICE" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "Презентация" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "Таблица" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "" -"30-дневный тестовый период закончился, вы больше не можете подключиться к " -"демо-серверу ONLYOFFICE Docs" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "Название" diff --git a/onlyoffice_odoo_documents/i18n/zh_CN.po b/onlyoffice_odoo_documents/i18n/zh_CN.po deleted file mode 100644 index 3054ecfe2..000000000 --- a/onlyoffice_odoo_documents/i18n/zh_CN.po +++ /dev/null @@ -1,112 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0-20221116\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:30+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "取消" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Create" -msgstr "创建" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml:0 -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "Create with ONLYOFFICE" -msgstr "使用 ONLYOFFICE 创建" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Document" -msgstr "文档" - -#. module: onlyoffice_odoo_documents -#. odoo-python -#: code:addons/onlyoffice_odoo_documents/controllers/controllers.py:0 -#, python-format -msgid "Failed to create document" -msgstr "文档创建失败" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New Document" -msgstr "新建文档" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js:0 -#, python-format -msgid "New document created in Documents" -msgstr "在“文档”中新建的文档" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "ONLYOFFICE Docs server" -msgstr "ONLYOFFICE 文档服务器" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml:0 -#, python-format -msgid "Open in ONLYOFFICE" -msgstr "用 ONLYOFFICE 打开" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Presentation" -msgstr "演示文稿" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Spreadsheet" -msgstr "电子表格" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js:0 -#, python-format -msgid "" -"The 30-day test period is over, you can no longer connect to demo ONLYOFFICE " -"Docs server" -msgstr "30 天测试期结束后,您将无法再访问 ONLYOFFICE文档服务器演示版" - -#. module: onlyoffice_odoo_documents -#. odoo-javascript -#: code:addons/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml:0 -#, python-format -msgid "Title" -msgstr "標題" diff --git a/onlyoffice_odoo_documents/models/__init__.py b/onlyoffice_odoo_documents/models/__init__.py deleted file mode 100644 index 7c68785e9..000000000 --- a/onlyoffice_odoo_documents/models/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# -*- coding: utf-8 -*- \ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/description/create_files.png b/onlyoffice_odoo_documents/static/description/create_files.png deleted file mode 100644 index 4426c10f7..000000000 Binary files a/onlyoffice_odoo_documents/static/description/create_files.png and /dev/null differ diff --git a/onlyoffice_odoo_documents/static/description/edit_files.png b/onlyoffice_odoo_documents/static/description/edit_files.png deleted file mode 100644 index c58dff429..000000000 Binary files a/onlyoffice_odoo_documents/static/description/edit_files.png and /dev/null differ diff --git a/onlyoffice_odoo_documents/static/description/editors.png b/onlyoffice_odoo_documents/static/description/editors.png deleted file mode 100644 index 3ed371051..000000000 Binary files a/onlyoffice_odoo_documents/static/description/editors.png and /dev/null differ diff --git a/onlyoffice_odoo_documents/static/description/icon.png b/onlyoffice_odoo_documents/static/description/icon.png deleted file mode 100644 index 0649a5f01..000000000 Binary files a/onlyoffice_odoo_documents/static/description/icon.png and /dev/null differ diff --git a/onlyoffice_odoo_documents/static/description/index.html b/onlyoffice_odoo_documents/static/description/index.html deleted file mode 100644 index cfc29febe..000000000 --- a/onlyoffice_odoo_documents/static/description/index.html +++ /dev/null @@ -1,95 +0,0 @@ -
-
- -

Edit and collaborate on office files within Odoo Documents

-
- -

- Work with office documents uploaded in Odoo using ONLYOFFICE Docs (in any Odoo section where you can upload/attach files). For example, you can edit attached deal notes in the Sales section, open chat attachments in the Discuss section, etc. -

-
-
- -
-
- -
-
- -
-
Edit files in the Documents module
-
- -
- -

- ONLYOFFICE app for Odoo Enterprise allows opening the created files for editing. Just select the needed document in the file list and click the ONLYOFFICE icon on the right-side panel. The corresponding ONLYOFFICE editor opens in a new tab in the full screen mode. -

-
-
- -
-
- -
-
- -
-
- -
-
- -
-
Create new files in the Documents module
-
- -
- -

- To create new office files (docs, sheets, slides), click Create with ONLYOFFICE on the top panel within the Documents module. Select the file type and specify its name in the pop-up window. -

-
-
- -
-
- -
-
- -
- -

- Click the Create button — the file opens in a new tab. The created document will be displayed in the file list. -

-
-
- -
-
- -
-
- -
-
App features and file formats
-
- -
-
    -
  • Edit text documents, spreadsheets, and presentations (DOCX, XLSX, PPTX)
  • -
  • Collaborate on documents with your colleagues in real time
  • -
  • Edit form templates in PDF
  • -
  • Read PDF files
  • -
  • Open other office file formats for viewing, including RTF, TXT, CSV, etc.
  • - -
- -
- -
-
- -
-
\ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/description/main_screenshot.png b/onlyoffice_odoo_documents/static/description/main_screenshot.png deleted file mode 100644 index 549a3c3e6..000000000 Binary files a/onlyoffice_odoo_documents/static/description/main_screenshot.png and /dev/null differ diff --git a/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml b/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml deleted file mode 100644 index d6733b2ef..000000000 --- a/onlyoffice_odoo_documents/static/src/components/documents_inspector_onlyoffice/documents_inspector_onlyoffice.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js b/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js deleted file mode 100644 index 1c56812f9..000000000 --- a/onlyoffice_odoo_documents/static/src/documents_view/kanban/documents_kanban_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @odoo-module **/ - -import { patch } from "@web/core/utils/patch"; -import { DocumentsKanbanController } from "@documents/views/kanban/documents_kanban_controller"; -import { OnlyofficeDocumentsControllerMixin } from "../onlyoffice_odoo_documents_controller_mixin"; - -patch(DocumentsKanbanController.prototype, OnlyofficeDocumentsControllerMixin()); diff --git a/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js b/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js deleted file mode 100644 index a012fbfe2..000000000 --- a/onlyoffice_odoo_documents/static/src/documents_view/list/documents_list_controller.js +++ /dev/null @@ -1,7 +0,0 @@ -/** @odoo-module **/ - -import { patch } from "@web/core/utils/patch"; -import { DocumentsListController } from "@documents/views/list/documents_list_controller"; -import { OnlyofficeDocumentsControllerMixin } from "../onlyoffice_odoo_documents_controller_mixin"; - -patch(DocumentsListController.prototype, OnlyofficeDocumentsControllerMixin()); \ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js b/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js deleted file mode 100644 index 0d9cde976..000000000 --- a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.js +++ /dev/null @@ -1,21 +0,0 @@ -/** @odoo-module **/ - -import { CreateDialog } from "@onlyoffice_odoo_documents/onlyoffice_create_template/onlyoffice_create_template_dialog"; -import { useService } from "@web/core/utils/hooks"; -import { _t } from "@web/core/l10n/translation"; - -export const OnlyofficeDocumentsControllerMixin = () => ({ - setup() { - super.setup(...arguments); - this.action = useService("action"); - this.dialogService = useService("dialog"); - }, - - async onClickCreateOnlyoffice(ev) { - this.dialogService.add(CreateDialog, { - folderId: this.env.searchModel.getSelectedFolderId(), - context: this.props.context, - model: this.env.model - }); - }, -}); diff --git a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml b/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml deleted file mode 100644 index b4afbde81..000000000 --- a/onlyoffice_odoo_documents/static/src/documents_view/onlyoffice_odoo_documents_controller_mixin.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - diff --git a/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js b/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js deleted file mode 100644 index 75fbc5971..000000000 --- a/onlyoffice_odoo_documents/static/src/models/documents_inspector_onlyoffice.js +++ /dev/null @@ -1,104 +0,0 @@ -/** @odoo-module **/ - -/* - * - * (c) Copyright Ascensio System SIA 2024 - * -*/ - -import { patch } from "@web/core/utils/patch"; -import { DocumentsInspector } from '@documents/views/inspector/documents_inspector'; -import { useService } from "@web/core/utils/hooks"; -import { _t } from "@web/core/l10n/translation"; - -const oo_editable_formats = [ - "docx", - "xlsx", - "pptx", - "pdf", -] - -const oo_viewable_formats = [ - "djvu", - "doc", - "docm", - "docxf", - "dot", - "dotm", - "dotx", - "epub", - "fb2", - "fodt", - "html", - "mht", - "odt", - "ott", - "oxps", - "rtf", - "txt", - "xps", - "xml", - "csv", - "fods", - "ods", - "ots", - "xls", - "xlsb", - "xlsm", - "xlt", - "xltm", - "xltx", - "fodp", - "odp", - "otp", - "pot", - "potm", - "potx", - "pps", - "ppsm", - "ppsx", - "ppt", - "pptm", -]; - -patch(DocumentsInspector.prototype, { - setup() { - super.setup(...arguments); - this.notification = useService("notification"); - this.onlyofficeEditorUrl = this.onlyofficeEditorUrl.bind(this); - }, - showOnlyofficeButton(records) { - if (records.length !== 1) return false; - const ext = records[0].data.display_name.split('.').pop() - return records.length === 1 && - (this.onlyofficeCanEdit(ext) || this.onlyofficeCanView(ext)); - }, - onlyofficeCanEdit(extension) { - return oo_editable_formats.includes(extension); - }, - onlyofficeCanView(extension) { - return oo_viewable_formats.includes(extension); - }, - async onlyofficeEditorUrl(id) { - var demo = await this.env.services.orm.call('ir.config_parameter', 'get_param', ['onlyoffice_connector.doc_server_demo']); - var demoDate = await this.env.services.orm.call('ir.config_parameter', 'get_param', ['onlyoffice_connector.doc_server_demo_date']); - demoDate = new Date(Date.parse(demoDate)) - if (demo && demoDate && demoDate instanceof Date) { - const today = new Date(); - const difference = Math.floor((today - new Date(Date.parse(demoDate))) / (1000 * 60 * 60 * 24)); - if (difference > 30) { - this.notification.add( - _t( - "The 30-day test period is over, you can no longer connect to demo ONLYOFFICE Docs server" - ), - { - title: _t("ONLYOFFICE Docs server"), - type: 'warning', - } - ); - return; - } - } - window.open(`/onlyoffice/editor/document/${id}`, '_blank'); - } -}); \ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml b/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml deleted file mode 100644 index d728cc1a5..000000000 --- a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/create_dialog.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - -
- -
-
-
- -
-
-
- -
-
-
-
-
-
- -
Document
-
-
- -
Spreadsheet
-
-
- -
Presentation
-
-
- - - - -
-
-
-
\ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js b/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js deleted file mode 100644 index d54db9989..000000000 --- a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.js +++ /dev/null @@ -1,90 +0,0 @@ -/** @odoo-module **/ - -import { Dialog } from "@web/core/dialog/dialog"; - -import { KeepLast } from "@web/core/utils/concurrency"; -import { useService } from "@web/core/utils/hooks"; -import { useHotkey } from "@web/core/hotkeys/hotkey_hook"; -import { getDefaultConfig } from "@web/views/view"; -import { _t } from "@web/core/l10n/translation"; - -const { Component, useState, useSubEnv } = owl; - -export class CreateDialog extends Component { - setup() { - this.orm = useService("orm"); - this.rpc = useService("rpc"); - this.viewService = useService("view"); - this.notificationService = useService("notification"); - this.actionService = useService("action"); - - this.data = this.env.dialogData; - useHotkey("escape", () => this.data.close()); - - this.dialogTitle = _t("Create with ONLYOFFICE"); - this.state = useState({ - isOpen: true, - selectedFormat: "docx", - title: _t("New Document"), - isCreating: false, - }); - useSubEnv({ - config: { - ...getDefaultConfig(), - }, - }); - this.keepLast = new KeepLast(); - } - - async _createFile() { - if (this._buttonDisabled()) return; - this.state.isCreating = true; - const selectedFormat = this.state.selectedFormat; - const title = this.state.title; - - const json = await this.rpc(`/onlyoffice/documents/file/create`, { - folder_id: this.props.folderId, - title: title, - format: selectedFormat - }); - - const result = JSON.parse(json); - - this.props.model.load(); - this.props.model.notify(); - - if (result.error) { - this.notificationService.add(result.error, { - type: "error", - sticky: false, - }); - } else { - this.notificationService.add(_t("New document created in Documents"), { - type: "info", - sticky: false, - }); - - window.open(`/onlyoffice/editor/${result.file_id}`, '_blank'); - } - - this.data.close(); - } - - _selectedFormat(format) { - this.state.selectedFormat = format; - } - - _isSelected(format) { - return this.state.selectedFormat === format; - } - - _hasSelection() { - return !!this.state.selectedFormat !== null; - } - - _buttonDisabled() { - return this.state.isCreating || !this._hasSelection() || !this.state.title; - } -} -CreateDialog.components = { Dialog }; -CreateDialog.template = "onlyoffice_odoo_documents.CreateDialog"; diff --git a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.scss b/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.scss deleted file mode 100644 index 3183fa971..000000000 --- a/onlyoffice_odoo_documents/static/src/onlyoffice_create_template/onlyoffice_create_template_dialog.scss +++ /dev/null @@ -1,34 +0,0 @@ -$margin-right: 15px; - -.o-onlyoffice-create-templates-dialog { - - .o-onlyoffice-create-field-box { - display: flex; - padding: $margin-right; - } - - .o-onlyoffice-create-templates-container { - display: flex; - flex-flow: row wrap; - justify-content: space-between; - - .o-onlyoffice-create-template { - display: flex; - align-items: center; - border: 1px solid #ced4da; - padding: $margin-right; - margin: $margin-right; - flex: 1; - - &.o-template-selected { - border-color: $o-brand-primary; - box-shadow: 0 0 0 2px $o-brand-primary; - } - - .o-onlyoffice-create-icon { - margin-right: $margin-right; - height: 45px; - } - } - } -} \ No newline at end of file diff --git a/onlyoffice_odoo_documents/static/svg/edit.svg b/onlyoffice_odoo_documents/static/svg/edit.svg deleted file mode 100644 index f3c10a258..000000000 --- a/onlyoffice_odoo_documents/static/svg/edit.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/onlyoffice_odoo_documents/static/svg/formats/docx.svg b/onlyoffice_odoo_documents/static/svg/formats/docx.svg deleted file mode 100644 index 9c0b77a9a..000000000 --- a/onlyoffice_odoo_documents/static/svg/formats/docx.svg +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/onlyoffice_odoo_documents/static/svg/formats/pptx.svg b/onlyoffice_odoo_documents/static/svg/formats/pptx.svg deleted file mode 100644 index 40c0247ad..000000000 --- a/onlyoffice_odoo_documents/static/svg/formats/pptx.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/onlyoffice_odoo_documents/static/svg/formats/xlsx.svg b/onlyoffice_odoo_documents/static/svg/formats/xlsx.svg deleted file mode 100644 index c729c2201..000000000 --- a/onlyoffice_odoo_documents/static/svg/formats/xlsx.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/onlyoffice_odoo_documents/views/.gitkeep b/onlyoffice_odoo_documents/views/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/onlyoffice_odoo_templates/__init__.py b/onlyoffice_odoo_templates/__init__.py deleted file mode 100644 index 511a0ca3a..000000000 --- a/onlyoffice_odoo_templates/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers -from . import models \ No newline at end of file diff --git a/onlyoffice_odoo_templates/__manifest__.py b/onlyoffice_odoo_templates/__manifest__.py deleted file mode 100644 index f6949c371..000000000 --- a/onlyoffice_odoo_templates/__manifest__.py +++ /dev/null @@ -1,42 +0,0 @@ -# -*- coding: utf-8 -*- -{ - 'name': "ONLYOFFICE Templates", - - 'summary': "Automate form creation with inserting fields from Odoo in templates.", - - 'description': "Work with fillable templates in Odoo using ONLYOFFICE. Create templates based on the data and fields available in Odoo, fill them out and print with several clicks.", - - 'author': "ONLYOFFICE", - 'website': "https://www.onlyoffice.com", - - 'category': 'Productivity', - 'version': '2.0.2', - - 'depends': ['base', 'onlyoffice_odoo'], - - "external_dependencies": {"python": ["pyjwt"]}, - - # always loaded - 'data': [ - 'security/onlyoffice_templates_security.xml', - 'security/ir.model.access.csv', - 'views/onlyoffice_menu_views.xml' - ], - - 'demo': ['data/templates_data.xml'], - - 'license': 'LGPL-3', - 'support': 'support@onlyoffice.com', - - 'images': [ "static/description/main_screenshot.png", "static/description/create_templates.png", "static/description/edit_templates.png", "static/description/access_rights.png", "static/description/work_with_templates.png" ], - - 'installable': True, - 'application': True, - - 'assets': { - 'web.assets_backend': [ - 'onlyoffice_odoo_templates/static/src/css/*', - 'onlyoffice_odoo_templates/static/src/views/**/*', - ], - }, -} diff --git a/onlyoffice_odoo_templates/controllers/__init__.py b/onlyoffice_odoo_templates/controllers/__init__.py deleted file mode 100644 index 457bae27e..000000000 --- a/onlyoffice_odoo_templates/controllers/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import controllers \ No newline at end of file diff --git a/onlyoffice_odoo_templates/controllers/controllers.py b/onlyoffice_odoo_templates/controllers/controllers.py deleted file mode 100644 index 05098ca38..000000000 --- a/onlyoffice_odoo_templates/controllers/controllers.py +++ /dev/null @@ -1,335 +0,0 @@ -# -*- coding: utf-8 -*- - -# -# (c) Copyright Ascensio System SIA 2024 -# -import base64 -import codecs -import json -import re -import requests -from urllib.request import urlopen - -from odoo import SUPERUSER_ID, http, models -from odoo.http import request -from odoo.tools import BytesIO, file_open, translate, get_lang, DEFAULT_SERVER_DATE_FORMAT, DEFAULT_SERVER_DATETIME_FORMAT -from odoo.addons.onlyoffice_odoo.controllers.controllers import Onlyoffice_Connector -from odoo.addons.onlyoffice_odoo.utils import config_utils, file_utils, jwt_utils - -class Onlyoffice_Inherited_Connector(Onlyoffice_Connector): - @http.route("/onlyoffice/template/editor", auth="user", methods=["POST"], type="json", csrf=False) - def override_render_editor(self, attachment_id, access_token=None): - attachment = self.get_attachment(attachment_id) - if not attachment: - return request.not_found() - - attachment.validate_access(access_token) - - data = attachment.read(["id", "checksum", "public", "name", "access_token"])[0] - filename = data["name"] - - can_read = attachment.check_access_rights("read", raise_exception=False) and file_utils.can_view(filename) - hasAccess = http.request.env.user.has_group("onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin") - can_write = hasAccess and attachment.check_access_rights("write", raise_exception=False) and file_utils.can_edit(filename) - - if not can_read: - raise Exception("cant read") - - prepare_editor_values = self.prepare_editor_values(attachment, access_token, can_write) - return prepare_editor_values - - -class OnlyofficeTemplate_Connector(http.Controller): - @http.route("/onlyoffice/template/get_filled_template", auth="user", methods=["POST"], type="json") - def get_filled_template(self, template_id, record_id, model_name): - jwt_secret = config_utils.get_jwt_secret(request.env) - jwt_header = config_utils.get_jwt_header(request.env) - odoo_url = config_utils.get_base_or_odoo_url(request.env) - docserver_url = config_utils.get_doc_server_public_url(request.env) - docbuilder_url = f"{docserver_url}docbuilder" - internal_jwt_secret = config_utils.get_internal_jwt_secret(request.env) - oo_security_token = jwt_utils.encode_payload(request.env, {"id": request.env.user.id}, internal_jwt_secret) - - template_headers = {"Content-Type": "application/json", "Accept": "application/json"} - template_callback_url = f"{odoo_url}onlyoffice/template/callback/fill_template?template_id={template_id}&record_id={record_id}&model_name={model_name}&oo_security_token={oo_security_token}" - template_payload = {"async": False, "url": template_callback_url} - - if jwt_secret: - template_payload["token"] = jwt_utils.encode_payload(request.env, template_payload, jwt_secret) - template_headers[jwt_header] = "Bearer " + jwt_utils.encode_payload(request.env, {"payload": template_payload}, jwt_secret) - - try: - response = requests.post(docbuilder_url, json=template_payload, headers=template_headers) - response.raise_for_status() - response_json = response.json() - - if response_json.get("error"): - return {"error": self.get_docbuilder_error(response_json.get("error"))} - - urls = response_json.get("urls") - if urls: - first_url = next(iter(urls.values()), None) - if first_url: - return {"href": first_url} - - except requests.RequestException as e: - return {"error": e} - - return {"error": "Unknown error"} - - @http.route("/onlyoffice/template/callback/fill_template", auth="public") - def fill_template(self, template_id, record_id, model_name, oo_security_token): - user = self.get_user_from_token(oo_security_token) - if not user: - return - - template_record = self.get_record(template_id, "onlyoffice.odoo.templates", self.get_user_from_token(oo_security_token)) - if not template_record: - print("Template not found") - return - attachment_id = template_record.attachment_id.id - - jwt_secret = config_utils.get_jwt_secret(request.env) - jwt_header = config_utils.get_jwt_header(request.env) - odoo_url = config_utils.get_base_or_odoo_url(request.env) - docserver_url = config_utils.get_doc_server_public_url(request.env) - docbuilder_url = f"{docserver_url}docbuilder" - - keys_headers = {"Content-Type": "application/json", "Accept": "application/json"} - keys_callback_url = f"{odoo_url}onlyoffice/template/callback/get_keys?attachment_id={attachment_id}&oo_security_token={oo_security_token}" - keys_payload = {"async": False, "url": keys_callback_url} - - if jwt_secret: - keys_payload["token"] = jwt_utils.encode_payload(request.env, keys_payload, jwt_secret) - keys_headers[jwt_header] = "Bearer " + jwt_utils.encode_payload(request.env, {"payload": keys_payload}, jwt_secret) - - try: - response = requests.post(docbuilder_url, json=keys_payload, headers=keys_headers) - response.raise_for_status() - response_json = response.json() - - if response_json.get("error"): - print(response_json.get("error")) - return - - urls = response_json.get("urls") - if urls: - first_url = next(iter(urls.values()), None) - if first_url: - response = requests.get(first_url) - response.raise_for_status() - - response_content = codecs.decode(response.content, 'utf-8-sig') - keys = sorted(json.loads(response_content)) - - except requests.RequestException as e: - print(e) # TODO - return - - try: - fields = self.get_fields(model_name, record_id, keys, user) - fields_json = json.dumps(fields, ensure_ascii=False) - except Exception as e: - print(e) # TODO - fields_json = "" - - url = f"{config_utils.get_base_or_odoo_url(http.request.env)}onlyoffice/template/download/{attachment_id}?oo_security_token={oo_security_token}" - docbuilder_content = f""" - builder.OpenFile("{url}"); - var fields = {fields_json}; - """ - - with file_open("onlyoffice_odoo_templates/controllers/fill_template.docbuilder", "r") as f: - docbuilder_content = docbuilder_content + f.read() - - record = self.get_record(record_id, model_name, user) - record_name = getattr(record, "display_name", getattr(record, "name", str(record_id))) - template_name = getattr(template_record, "display_name", getattr(template_record, "name", "Filled Template")) - filename = re.sub(r"[<>:'/\\|?*\x00-\x1f]", " ", f"{template_name} - {record_name}") - - docbuilder_content += f""" - builder.SaveFile("pdf", "{filename}.pdf"); - builder.CloseFile(); - """ - - headers = { - "Content-Disposition": "attachment; filename='fill_template.docbuilder'", - "Content-Type": "text/plain", - } - - return request.make_response(docbuilder_content, headers) - - @http.route("/onlyoffice/template/callback/get_keys", auth="public") - def get_keys(self, attachment_id, oo_security_token): - url = f"{config_utils.get_base_or_odoo_url(http.request.env)}onlyoffice/template/download/{attachment_id}?oo_security_token={oo_security_token}" - docbuilder_content = f""" - builder.OpenFile("{url}"); - """ - - with file_open("onlyoffice_odoo_templates/controllers/get_keys.docbuilder", "r") as f: - docbuilder_content = docbuilder_content + f.read() - - headers = { - "Content-Disposition": "attachment; filename='get_keys.docbuilder'", - "Content-Type": "text/plain", - } - - return request.make_response(docbuilder_content, headers) - - @http.route("/onlyoffice/template/download/", auth="public") - def download_template(self, attachment_id, oo_security_token=None): - if request.env.user and request.env.user.id and not oo_security_token: - internal_jwt_secret = config_utils.get_internal_jwt_secret(request.env) - oo_security_token = jwt_utils.encode_payload(request.env, {"id": request.env.user.id}, internal_jwt_secret) - - attachment = self.get_record(attachment_id, "ir.attachment", self.get_user_from_token(oo_security_token)) - - attachment_name = getattr(attachment, "display_name", getattr(attachment, "name", f"Template - {attachment_id}.pdf")) - - if attachment: - template_content = base64.b64decode(attachment.datas) - headers = { - "Content-Type": file_utils.get_mime_by_ext("pdf"), - "Content-Disposition": f"attachment; filename={attachment_name}", - } - return request.make_response(template_content, headers) - else: - return request.not_found() - - def get_fields(self, model_name, record_id, keys, user): - def convert_keys(input_list): - output_dict = {} - for item in input_list: - if " " in item: - keys = item.split(" ") - current_dict = output_dict - for key in keys[:-1]: - current_dict = current_dict.setdefault(key, {}) - current_dict[keys[-1]] = None - else: - output_dict[item] = None - - def dict_to_list(input_dict): - output_list = [] - for key, value in input_dict.items(): - if isinstance(value, dict): - output_list.append({key: dict_to_list(value)}) - else: - output_list.append(key) - return output_list - - return dict_to_list(output_dict) - - def get_related_field(model_name, record_id, keys): - result = {} - record = self.get_record(record_id, model_name, user) - if not record: - print("Record not found") - return - for field in keys: - try: - if isinstance(field, dict): - related_field = list(field.keys())[0] - if related_field not in record._fields: - continue - field_type = record._fields[related_field].type - related_keys = field[related_field] - if field_type in ["one2many", "many2many", "many2one"]: - related_model = record._fields[related_field].comodel_name - related_record_ids = record.read([related_field])[0][related_field] - if not related_record_ids: - continue - if field_type == "many2one" and isinstance(related_record_ids, tuple): - related_data = get_related_field(related_model, related_record_ids[0], related_keys) - else: - related_data = [] - for record_id in related_record_ids: - related_data_temp = get_related_field(related_model, record_id, related_keys) - if related_data_temp: - related_data.append(related_data_temp) - if related_data: - result[related_field] = related_data - else: - if field not in record._fields: - continue - field_type = record._fields[field].type - data = record.read([field])[0][field] - if field_type in ["html", "json"]: - continue # TODO - elif field_type == "boolean": - result[field] = str(data).lower() - elif isinstance(data, tuple): - result[field] = str(data[1]) - elif field_type == "binary" and isinstance(data, bytes): - img = re.search(r"'(.*?)'", str(data)) - if img: - result[field] = img.group(1) - elif data: - if field_type in ["float", "integer", "char", "text"]: - result[field] = str(data) - elif field_type == "monetary": - data = "{:,.2f}".format(float(data)) - currency_field_name = record._fields[field].currency_field - if currency_field_name: - currency = getattr(record, currency_field_name).name - result[field] = f"{data} {currency}" if currency else str(data) - else: - result[field] = str(data) - elif field_type == "date": - date_format = get_lang(request.env).date_format - format_to_use = date_format or DEFAULT_SERVER_DATE_FORMAT - result[field] = str(data.strftime(format_to_use)) - elif field_type == "datetime": - date_format = get_lang(request.env).date_format - time_format = get_lang(request.env).time_format - if date_format and time_format: - format_to_use = f"{date_format} {time_format}" - else: - format_to_use = DEFAULT_SERVER_DATETIME_FORMAT - result[field] = str(data.strftime(format_to_use)) - elif field_type == "selection": - selection = record._fields[field].selection - if isinstance(selection, list): - result[field] = str(dict(selection).get(data)) - else: - result[field] = str(data) - except Exception as e: - print(e) # TODO - continue - return result - - keys = convert_keys(keys) - return get_related_field(model_name, record_id, keys) - - def get_record(self, record_id, model_name, user=None): - if not isinstance(record_id, list): - record_id = [int(record_id)] - model_name = request.env[model_name].sudo() - context = {"lang": request.env.context.get("lang", "en_US")} - if user: - model_name = model_name.with_user(user) - context["lang"] = user.lang - context["uid"] = user.id - try: - return model_name.with_context(context).browse(record_id).exists() # TODO: Add .sudo() - except Exception as e: - print(e) - return None - - def get_user_from_token(self, token): - if not token: - raise Exception("missing security token") - user_id = jwt_utils.decode_token(request.env, token, config_utils.get_internal_jwt_secret(request.env))["id"] - user = request.env["res.users"].sudo().browse(user_id).exists().ensure_one() - return user - - def get_docbuilder_error(self, error_code): - docbuilder_messages = { - -1: "Unknown error.", - -2: "Generation timeout error.", - -3: "Document generation error.", - -4: "Error while downloading the document file to be generated.", - -6: "Error while accessing the document generation result database.", - -8: "Invalid token." - } - return docbuilder_messages.get(error_code, "Error code not recognized.") \ No newline at end of file diff --git a/onlyoffice_odoo_templates/controllers/fill_template.docbuilder b/onlyoffice_odoo_templates/controllers/fill_template.docbuilder deleted file mode 100644 index a90b8196b..000000000 --- a/onlyoffice_odoo_templates/controllers/fill_template.docbuilder +++ /dev/null @@ -1,302 +0,0 @@ -var oDocument = Api.GetDocument(); -// As new elements appear when filling tables and lists, the total number of elements in the document increases, -// so we need to store references to elements, or increase the loop counter when traversing document elements. -var oDocumentElementsCount = oDocument.GetElementsCount(); -var oDocumentElements = []; -for (var i = 0; i < oDocumentElementsCount; i++) { - var oElement = oDocument.GetElement(i); - oDocumentElements.push(oElement); -} -oDocumentElements.forEach(oElement => { - fillElementByType(oElement); -}) - - -function getData(keyPath, index = 0, obj = fields) { - const keys = keyPath.split(' '); - - // Recursive function to traverse the object and get the desired value(s) - function traverse(obj, keys) { - if (keys.length === 0) return obj; - - let key = keys[0]; - let remainingKeys = keys.slice(1); - - if (Array.isArray(obj)) { - return obj.map(item => traverse(item, [key, ...remainingKeys])); - } else { - if (typeof obj[key] === 'undefined') { - return "" - } - return traverse(obj[key], remainingKeys); - } - } - - // Get the value(s) from the object based on the keys - let values = traverse(obj, keys); - - if (typeof values[index] === 'undefined') { - return "" - } - - if (Array.isArray(values[0])) { - // If the first element is an array, return a concatenated string of all values by key - return values[index].flat().join(' '); - } else if (Array.isArray(values) && typeof values[index] !== 'object') { - // If values are an array, return the value at the specified index - return values[index]; - } else { - // If the value is not an array, return it as is - return values; - } -} - -function getDataArrayLength(keyPath, obj = fields) { - const keys = keyPath.split(' '); - let currentObj = obj; - for (let key of keys) { - if (typeof currentObj === 'undefined') { - return 0; - } - if (Array.isArray(currentObj)) { - return currentObj.length; - } - currentObj = currentObj[key]; - } - return 0; -} - -function fillElementByType(oElement) { - var oElementClassType = oElement.GetClassType(); - - if (oElementClassType === "paragraph") { - if (oElement.GetNumbering()) { - fillNumbering(oElement); - } else { - fillParagraph(oElement); - } - } - if (oElementClassType === "form") { - fillForm(oElement); - } - if (oElementClassType === "run") {} - if (oElementClassType === "table") { - fillTable(oElement); - } -} - -function fillParagraph(oParagraph) { - var oParagraphElementsCount = oParagraph.GetElementsCount(); - for (var i = 0; i < oParagraphElementsCount; i++) { - var oElement = oParagraph.GetElement(i); - fillElementByType(oElement); - } -} - -function fillNumbering(oParagraph) { - var requiredLevel = 0; - - var oParagraphElementsCount = oParagraph.GetElementsCount(); - for (var i = 0; i < oParagraphElementsCount; i++) { - var oElement = oParagraph.GetElement(i); - var oElementClassType = oElement.GetClassType(); - - if (oElementClassType === "form") { - var oForm = oElement; - var oFormKey = oForm.GetFormKey(); - - var data = getData(oFormKey, 0); - var length = getDataArrayLength(oFormKey) - requiredLevel = Math.max(requiredLevel, length); - fillForm(oForm, data); - } - } - - if (requiredLevel > 1) { - var oNumberingLevel = oParagraph.GetNumbering(); - var oCurrentParagraph = oParagraph; - for (var newLevel = 1; newLevel < requiredLevel; newLevel++) { - var nPos = oCurrentParagraph.GetPosInParent(); - - var oNewParagraph = oParagraph.Copy(); - oNewParagraph.SetNumbering(oNumberingLevel); - - var oParagraphElementsCount = oNewParagraph.GetElementsCount(); - for (var element = 0; element < oParagraphElementsCount; element++) { - var oElement = oNewParagraph.GetElement(element); - var oElementClassType = oElement.GetClassType(); - - if (oElementClassType === "form") { - var oForm = oElement; - var oFormKey = oForm.GetFormKey(); - - oForm.SetFormKey(oFormKey + newLevel); - var data = getData(oFormKey, newLevel); - fillForm(oForm, data); - } - } - oDocument.AddElement(nPos + 1, oNewParagraph); - oCurrentParagraph = oNewParagraph; - } - } -} - - -function fillTable(oTable) { - var rows = oTable.GetRowsCount(); - for (var row = 0; row < rows; row++) { - var oRow = oTable.GetRow(row); - var cols = oRow.GetCellsCount(); - - // If there is a form in the cell, then write the length of the array using the form key. - // Maximum length - the number of lines that must be inserted after the current row. - var requiredRows = 0; - var tableData = {}; - - for (var col = 0; col < cols; col++) { - var oCell = oTable.GetCell(row, col); - var oCellContent = oCell.GetContent(); - - // Enum of paragraphs inside the cell - var oCellElementsCount = oCellContent.GetElementsCount(); - for (var cellElement = 0; cellElement < oCellElementsCount; cellElement++) { - var oCellElement = oCellContent.GetElement(cellElement); - - if (oCellElement.GetClassType() !== "paragraph") { - fillElementByType(oCellElement) - } else { - // Enum paragraph elements inside a cell - var oParagraphElementsCount = oCellElement.GetElementsCount(); - for (var paragraphElement = 0; paragraphElement < oParagraphElementsCount; paragraphElement++) { - var oParagraphElement = oCellElement.GetElement(paragraphElement); - - if (oParagraphElement.GetClassType() !== "form") { - fillElementByType(oParagraphElement) - } else { - // Fill the first element and count the number of required rows - var oForm = oParagraphElement; - var oFormKey = oForm.GetFormKey(); - - var data = getData(oFormKey, 0); - var length = getDataArrayLength(oFormKey) - requiredRows = Math.max(requiredRows, length); - fillForm(oForm, data); - } - } - } - } - } - - if (requiredRows > 1) { - // Add new rows, the first row is already there and filled - // In each cell of the column we copy the previous cell to save the structure. - oTable.AddRows(oTable.GetCell(row, 0), requiredRows - 1, false); - for (var newRow = 1; newRow < requiredRows; newRow++) { - for (var col = 0; col < cols; col++) { - var oNewCell = oTable.GetCell(row + newRow, col); - var oCell = oTable.GetCell(row, col); - var oCellContent = oCell.GetContent(); - - var oCellElementsCount = oCellContent.GetElementsCount(); - for (var i = 0; i < oCellElementsCount; i++) { - // Get the contents of the cell for further copying to a new cell - var oCellElement = oCellContent.GetElement(i); - // Copy the contents of a cell to paste into a new cell - var oNewCellElement = oCellElement.Copy(); - // If this is not a paragraph, paste into a new cell unchanged - if (oCellElement.GetClassType() !== "paragraph") { - oNewCell.AddElement(i, oNewCellElement); - } else { - // If it is a paragraph, process the elements of the paragraph to fill the forms inside - var oParagraphElementsCount = oNewCellElement.GetElementsCount(); - for (var paragraphElement = 0; paragraphElement < oParagraphElementsCount; paragraphElement++) { - var oNewParagraphElement = oNewCellElement.GetElement(paragraphElement); - if (oNewParagraphElement.GetClassType() === "form") { - var oForm = oNewParagraphElement; - var oFormKey = oForm.GetFormKey(); - - var data = getData(oFormKey, newRow); - fillForm(oForm, data); - } - } - oNewCell.AddElement(i, oNewCellElement); - } - } - // After creating a new cell, there is an empty paragraph inside. Remove it - var oNewCellContent = oNewCell.GetContent(); - var oNewCellElementsCount = oNewCellContent.GetElementsCount(); - oNewCellContent.RemoveElement(oNewCellElementsCount - 1); - } - } - rows += requiredRows - 1; - row += requiredRows - 1; - } - } -} - -// In odoo, if there is no data in the field, the value will be false -function fillForm(oForm, data = null) { - var oFormFormType = oForm.GetFormType(); - - if (oFormFormType === "textForm") { - function fillTextForm (data) { - data = String(data); - if (data === "false" || data === "undefined") { - oForm.SetText(" "); - } else { - oForm.SetText(data); - } - } - - if (data === null) { - var oFormKey = oForm.GetFormKey(); - data = getData(oFormKey); - fillTextForm(data); - } else { - fillTextForm(data); - } - } - - if (oFormFormType === "comboBoxForm") {} - - if (oFormFormType === "dropDownForm") {} - - if (oFormFormType === "checkBoxForm") { - function fillCheckBoxForm (data) { - try { - data = JSON.parse(data); - oForm.SetChecked(data); - } catch (_e) { - // TODO: set checked BoxForm in case of error - } - } - - if (data === null) { - var oFormKey = oForm.GetFormKey() - var data = getData(oFormKey); - fillCheckBoxForm(data); - } else { - fillCheckBoxForm(data); - } - } - - if (oFormFormType === "radioButtonForm") {} - - if (oFormFormType === "pictureForm") { - function fillPictureForm (data) { - if (typeof data === 'string') { - oForm.SetImage(`data:image/png;base64, ${data}`); - } - } - - if (data === null) { - var oFormKey = oForm.GetFormKey(); - data = getData(oFormKey); - fillPictureForm(data); - } else { - fillPictureForm(data); - } - } -} - -Api.Save(); \ No newline at end of file diff --git a/onlyoffice_odoo_templates/controllers/get_keys.docbuilder b/onlyoffice_odoo_templates/controllers/get_keys.docbuilder deleted file mode 100644 index 595ac09c9..000000000 --- a/onlyoffice_odoo_templates/controllers/get_keys.docbuilder +++ /dev/null @@ -1,19 +0,0 @@ -var oDocument = Api.GetDocument(); -var aForms = oDocument.GetAllForms(); -var sKeys = []; -aForms.forEach(aForm => { - sKeys.push(aForm.GetFormKey()); -}); -var json = JSON.stringify(sKeys); -GlobalVariable["json"] = json; -builder.CloseFile(); - -builder.CreateFile("docx"); -var json = GlobalVariable["json"]; -var oDocument = Api.GetDocument(); -var oParagraph = oDocument.GetElement(0); -oParagraph.AddText(json); -oDocument.Push(oParagraph); -Api.Save(); -builder.SaveFile("txt", "keys.txt"); -builder.CloseFile(); \ No newline at end of file diff --git a/onlyoffice_odoo_templates/data/templates/account.move/Invoices.pdf b/onlyoffice_odoo_templates/data/templates/account.move/Invoices.pdf deleted file mode 100644 index 92e3a6dc7..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/account.move/Invoices.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/calendar.event/Memo.pdf b/onlyoffice_odoo_templates/data/templates/calendar.event/Memo.pdf deleted file mode 100644 index f2cb11d1f..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/calendar.event/Memo.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/hr.applicant/CV Templates.pdf b/onlyoffice_odoo_templates/data/templates/hr.applicant/CV Templates.pdf deleted file mode 100644 index 18dadfea2..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/hr.applicant/CV Templates.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/hr.employee/Certificate.pdf b/onlyoffice_odoo_templates/data/templates/hr.employee/Certificate.pdf deleted file mode 100644 index 6b93530ca..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/hr.employee/Certificate.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/hr.employee/Employee.pdf b/onlyoffice_odoo_templates/data/templates/hr.employee/Employee.pdf deleted file mode 100644 index d90962b29..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/hr.employee/Employee.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/hr.employee/Employment Verification.pdf b/onlyoffice_odoo_templates/data/templates/hr.employee/Employment Verification.pdf deleted file mode 100644 index 14c9ca9e3..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/hr.employee/Employment Verification.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/hr.employee/Resignation letter.pdf b/onlyoffice_odoo_templates/data/templates/hr.employee/Resignation letter.pdf deleted file mode 100644 index 29cc429d1..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/hr.employee/Resignation letter.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates/sale.order/Bill of sale.pdf b/onlyoffice_odoo_templates/data/templates/sale.order/Bill of sale.pdf deleted file mode 100644 index 7eb3bb3ee..000000000 Binary files a/onlyoffice_odoo_templates/data/templates/sale.order/Bill of sale.pdf and /dev/null differ diff --git a/onlyoffice_odoo_templates/data/templates_data.xml b/onlyoffice_odoo_templates/data/templates_data.xml deleted file mode 100644 index 22b29d2ea..000000000 --- a/onlyoffice_odoo_templates/data/templates_data.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/onlyoffice_odoo_templates/doc/index.rst b/onlyoffice_odoo_templates/doc/index.rst deleted file mode 100644 index db18da037..000000000 --- a/onlyoffice_odoo_templates/doc/index.rst +++ /dev/null @@ -1,27 +0,0 @@ -Prerequisites -============= - -To be able to work with office files within Odoo Enterprise, you will need an instance of `ONLYOFFICE Docs `_. - -**Please note:** You need to obtain a license for ONLYOFFICE Docs with the included Automation API option. - -ONLYOFFICE app configuration -============================ - -All the settings are configured from the `main ONLYOFFICE app for Odoo `_. - -To adjust the main app settings within your Odoo, go to *Home menu -> Settings -> ONLYOFFICE*. - -In the **Document Server Url**, specify the URL of the installed ONLYOFFICE Docs or the address of ONLYOFFICE Docs Cloud. - -**Document Server JWT Secret**: JWT is enabled by default and the secret key is generated automatically to restrict the access to ONLYOFFICE Docs. if you want to specify your own secret key in this field, also specify the same secret key in the ONLYOFFICE Docs `config file `_ to enable the validation. - -**Document Server JWT Header**: Standard JWT header used in ONLYOFFICE is Authorization. In case this header is in conflict with your setup, you can change the header to the custom one. - -.. image:: settings.png - :width: 800 - - -Contact us -============================ -If you have any questions or suggestions regarding the ONLYOFFICE app for Odoo, please let us know at `forum.onlyoffice.com `_. \ No newline at end of file diff --git a/onlyoffice_odoo_templates/doc/settings.png b/onlyoffice_odoo_templates/doc/settings.png deleted file mode 100644 index 5820b71b7..000000000 Binary files a/onlyoffice_odoo_templates/doc/settings.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/i18n/de.po b/onlyoffice_odoo_templates/i18n/de.po deleted file mode 100644 index 11b00fe16..000000000 --- a/onlyoffice_odoo_templates/i18n/de.po +++ /dev/null @@ -1,320 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:34+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: de_DE\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "Administrator" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "Sind Sie sicher, dass Sie diesen Datensatz löschen wollen?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "Anhang" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "Kann ONLYOFFICE-Vorlagen zur Ansicht öffnen und diese ausdrucken." - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "Kann ONLYOFFICE-Vorlagen öffnen, erstellen, bearbeiten und ausdrucken." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Abbrechen" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "" -"Wählen Sie das nachstehende Feld, um den ausgewählten Parameter an der " -"Cursorposition einzufügen" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "" -"Das Feld konnte nicht eingefügt werden. Bitte prüfen Sie die " -"Automatisierungs-API." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "Erstellen oder Hochladen" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "Vorlage erstellen" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "Erstellt von" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "Erstellt am" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "Löschen" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "Anzeigename" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "Herunterladen" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "Dropdown-Menü" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "Bearbeiten" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "Felder" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "Gruppieren nach" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "Kanban: keine Aktion für Typ: " - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "Zuletzt geändert am" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "Zuletzt aktualisiert von" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "Zuletzt aktualisiert am" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetyp" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "Modell" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "Modellbeschreibung" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "Modell, für das die Vorlage erstellt werden soll." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "Modul/Sektion" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "ONLYOFFICE-Vorlagen" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"ONLYOFFICE kann nicht erreicht werden. Bitte wenden Sie sich an den " -"Administrator." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "ONLYOFFICE-Logo" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "ONLYOFFICE-Vorlagen" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "Nur PDF-Formulare können hochgeladen werden." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "Drucken" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "Aus Vorlage drucken" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "Mit ONLYOFFICE drucken" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "Suchfeld" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "Modell auswählen" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"Wählen Sie eine vorhandene Vorlage aus. Lassen Sie das Feld leer, um eine " -"leere Vorlage zu erstellen." - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "Vorlagenname" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "Erstellung der Vorlage" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "Vorlage gelöscht" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "Hochladen der Vorlage" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "Unbekannter Fehler" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "Vorhandene Vorlage hochladen" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "Benutzer" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"Sie haben noch keine Vorlagen. Bitte gehen Sie zur ONLYOFFICE-Vorlagen-App, " -"um eine neue Vorlage zu erstellen oder bitten Sie Ihren Administrator, sie " -"zu erstellen." - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "Vorlagen" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "ONLYOFFICE-Vorlage" diff --git a/onlyoffice_odoo_templates/i18n/en.po b/onlyoffice_odoo_templates/i18n/en.po deleted file mode 100644 index ebcd55b63..000000000 --- a/onlyoffice_odoo_templates/i18n/en.po +++ /dev/null @@ -1,305 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240603\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 08:20+0000\n" -"Last-Translator: \n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: en\n" -"Plural-Forms: \n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "" \ No newline at end of file diff --git a/onlyoffice_odoo_templates/i18n/es.po b/onlyoffice_odoo_templates/i18n/es.po deleted file mode 100644 index 9d02ad012..000000000 --- a/onlyoffice_odoo_templates/i18n/es.po +++ /dev/null @@ -1,319 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:36+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: es_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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "Administrador" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "¿Está seguro de que desea eliminar este registro?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "Archivo adjunto" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "Puede abrir las plantillas de ONLYOFFICE para verlas e imprimirlas." - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "Puede abrir, crear, editar e imprimir plantillas de ONLYOFFICE." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Cancelar" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "" -"Elija el campo siguiente para pegar el parámetro seleccionado en el cursor" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "" -"No se ha podido insertar el campo. Por favor, compruebe la API de " -"automatización." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "Crear o subir" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "Crear plantilla" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "Creado por" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "Creado" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "Eliminar" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "Mostrar nombre" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "Descargar" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "Menú desplegable" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "Editar" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "Campos" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "Agrupar por" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "Kanban: ninguna acción para el tipo:  " - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "Última modificación" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "Última actualización por" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "Última actualización" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Tipo Mime" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "Modelo" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "Descripción del modelo" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "Modelo para el que se está creando la plantilla." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "Módulo/ sección" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "Plantillas de ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"No se puede acceder a ONLYOFFICE. Por favor, póngase en contacto con el " -"administrador." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "Logotipo de ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "Plantillas de ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "Solo se pueden subir formularios PDF." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "Imprimir" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "Imprimir desde plantilla" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "Imprimir con ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "Campo de búsqueda" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "Seleccionar modelo" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"Seleccione una plantilla existente. Deje el campo en blanco para crear una " -"\"plantilla\" en blanco." - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "Nombre de la plantilla" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "Creación de la plantilla" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "Plantilla eliminada" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "Carga de plantillas" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "Error desconocido" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "Cargar una plantilla existente" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "Usuario" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"Todavía no tiene plantillas. Por favor, acceda a la aplicación Plantillas " -"de ONLYOFFICE para crear una plantilla nueva o pida a su administrador que " -"la cree." - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "Plantillas" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "Plantilla de ONLYOFFICE" diff --git a/onlyoffice_odoo_templates/i18n/fr.po b/onlyoffice_odoo_templates/i18n/fr.po deleted file mode 100644 index 6318fcff3..000000000 --- a/onlyoffice_odoo_templates/i18n/fr.po +++ /dev/null @@ -1,317 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:38+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: fr_FR\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "Administrateur" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "Souhaitez-vous vraiment supprimer cet enregistrement ?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "Pièce jointe" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "Peut ouvrir des modèles ONLYOFFICE pour les afficher et les imprimer." - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "Peut ouvrir, créer, éditer et imprimer des modèles ONLYOFFICE." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Annuler" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "" -"Sélectionnez la zone ci-dessous pour coller le paramètre sélectionné au " -"curseur" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "" -"Impossible d'insérer le champ. Veuillez vérifier l'API d'automatisation." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "Créer ou télécharger" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "Créer un modèle" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "Créé par" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "Créé le" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "Supprimer" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "Afficher le nom" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "Télécharger" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "Menu déroulant" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "Modifier" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "Champs" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "Groupe par" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "Kanban : aucune action pour le type : " - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "Dernière modification le" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "Dernière mise à jour par" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "Dernière mise à jour le" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetype" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "Modèle" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "Description du modèle" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "Modèle pour lequel le formulaire est créé." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "Module/ section" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "Modèles ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "ONLYOFFICE n'est pas joignable. Veuillez contacter l'administration." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "Logo ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "Modèles ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "Seuls les formulaires PDF peuvent être téléchargés." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "Imprimer" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "Imprimer à partir du modèle" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "Imprimer avec ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "Champ de recherche" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "Sélectionner un modèle" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"Sélectionnez un modèle existant. Laissez le champ vide pour créer un « " -"modèle » vierge." - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "Nom du modèle" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "Création du modèle" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "Modèle supprimé" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "Chargement du modèle" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "Erreur inconnue" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "Charger un modèle existant" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "Utilisateur" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"Vous n'avez pas encore de modèles. Veuillez vous rendre sur l'application " -"ONLYOFFICE Templates pour créer un nouveau modèle ou demander à votre " -"administrateur de le faire." - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "Modèles" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "Modèle ONLYOFFICE" diff --git a/onlyoffice_odoo_templates/i18n/it.po b/onlyoffice_odoo_templates/i18n/it.po deleted file mode 100644 index f7c46ff92..000000000 --- a/onlyoffice_odoo_templates/i18n/it.po +++ /dev/null @@ -1,316 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:40+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: it_IT\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "Amministratore" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "Sei sicuro di voler eliminare questo record?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "Allegato" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "Può aprire i modelli di ONLYOFFICE per visualizzarli e stamparli." - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "Può aprire, creare, modificare e stampare modelli di ONLYOFFICE." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Annulla" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "" -"Scegli il campo sottostante per incollare il parametro selezionato nel " -"cursore" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "Impossibile inserire il campo. Controlla l'API di automazione." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "Crea o carica" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "Crea modello" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "Creato da" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "Creato il" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "Elimina" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "Visualizza nome" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "Scarica" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "Menu a discesa" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "Modifica" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "Campi" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "Raggruppa per" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "Kanban: nessuna azione per tipo: " - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "Ultima modifica effettuata il" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "Ultimo aggiornamento effettuato da" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "Ultimo aggiornamento effettuato il" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetype" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "Modello" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "Descrizione del modello" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "Modulo per il quale viene creato il modello." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "Modulo/sezione" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "Modelli ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"Impossibile raggiungere ONLYOFFICE. Si prega di contattare l'amministratore." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "Logo ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "Modelli di ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "Solo i moduli PDF possono essere caricati." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "Stampa" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "Stampa da modello" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "Stampa con ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "Campo di ricerca" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "Seleziona modello" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"Seleziona un modello esistente. Lascia il campo vuoto per creare un " -"\"modello\" vuoto." - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "Nome del modello" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "Creazione del modello" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "Modello eliminato" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "Caricamento del modello" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "Errore sconosciuto" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "Carica un modello esistente" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "Utente" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"Non hai ancora alcun modello. Vai all'app Modelli di ONLYOFFICE per creare " -"un nuovo modello o chiedi al tuo amministratore di crearlo." - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "Modelli" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "Modello ONLYOFFICE" diff --git a/onlyoffice_odoo_templates/i18n/ja.po b/onlyoffice_odoo_templates/i18n/ja.po deleted file mode 100644 index 9bbcbf402..000000000 --- a/onlyoffice_odoo_templates/i18n/ja.po +++ /dev/null @@ -1,316 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:52+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ja_JP\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "管理者" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "本当にこのレコードを削除しますか?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "添付ファイル" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "ONLYOFFICEテンプレートを開いて閲覧・印刷できます。" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "ONLYOFFICEテンプレートを開き、作成、編集、印刷することができます。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "キャンセル" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "" -"選択したパラメータをカーソルに貼り付けるには、下のフィールドを選択してくださ" -"い" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "" -"フィールドを挿入できませんでした。オートメーションAPIをご確認ください。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "作成またはアップロード" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "テンプレートの作成" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "作成者" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "作成日" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "削除" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "表示名" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "ダウンロード" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "ドロップダウンメニュー" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "編集" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "フィールド" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "グループ分け" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "カンバン:タイプに対するアクションがありません:" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "最終編集日" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "最終更新したユーザー" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "最終更新日" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetype" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "モデル" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "モデルの説明" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "テンプレートが作成されるモデル。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "モジュール/セクション" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "ONLYOFFICEテンプレート" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "ONLYOFFICEにアクセスできません。管理者にご連絡ください。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "ONLYOFFICEロゴ" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "ONLYOFFICEテンプレート" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "PDFフォームのみアップロード可能です。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "印刷" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "テンプレートから印刷" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "ONLYOFFICEで印刷" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "検索フィールド" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "モデルを選択" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"既存のテンプレートを選択してください。空白の「テンプレート」を作成するには、" -"フィールドを空白のままにしてください。" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "テンプレート名" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "テンプレート作成" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "テンプレートが削除されました" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "テンプレートがアップロードされています" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "不明なエラー" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "既存のテンプレートをアップロード" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "ユーザー" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"まだテンプレートがありません。ONLYOFFICEテンプレートアプリから新しいテンプ" -"レートを作成するか、管理者に作成を依頼してください。" - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "テンプレート" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "ONLYOFFICEテンプレート" diff --git a/onlyoffice_odoo_templates/i18n/pt-BR.po b/onlyoffice_odoo_templates/i18n/pt-BR.po deleted file mode 100644 index d33fc4035..000000000 --- a/onlyoffice_odoo_templates/i18n/pt-BR.po +++ /dev/null @@ -1,314 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:53+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: pt_BR\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: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "Administrador" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "Tem certeza de que deseja excluir este registro?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "Anexo" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "Pode abrir modelos do ONLYOFFICE para visualizá-los e imprimi-los." - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "Pode abrir, criar, editar e imprimir modelos do ONLYOFFICE." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Cancelar" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "Escolha o campo abaixo para colar o parâmetro selecionado no cursor" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "Não foi possível inserir o campo. Verifique a API de automação." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "Criar ou fazer upload" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "Criar modelo" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "Criado por" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "Criado em" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "Excluir" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "Nome de exibição" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "Baixar" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "Menu suspenso" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "Editar" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "Campos" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "Agrupar por" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "Kanban: nenhuma ação para o tipo: " - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "Última modificação em" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "Última atualização por" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "Última atualização em" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetype" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "Modelo" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "Descrição do modelo" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "Modelo para o qual o modelo está sendo criado." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "Módulo/seção" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "Modelos ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"ONLYOFFICE não pode ser alcançado. Entre em contato com o administrador." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "Logotipo do ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "Modelos ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "Somente formulário PDF pode ser carregado." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "Imprimir" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "Imprimir a partir do modelo" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "Imprimir com ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "Campo de pesquisa" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "Selecione o modelo" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"Selecione um modelo existente. Deixe o campo em branco para criar um " -"\"modelo\" em branco." - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "Nome do modelo" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "Criação de modelo" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "Modelo removido" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "Carregamento de modelo" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "Erro desconhecido" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "Carregar um modelo existente" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "Do utilizador" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"Você ainda não tem nenhum modelo. Acesse o aplicativo ONLYOFFICE Templates " -"para criar um novo modelo ou peça ao seu administrador para criá-lo." - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "Modelos" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "Modelo ONLYOFFICE" diff --git a/onlyoffice_odoo_templates/i18n/ru.po b/onlyoffice_odoo_templates/i18n/ru.po deleted file mode 100644 index e6b41049d..000000000 --- a/onlyoffice_odoo_templates/i18n/ru.po +++ /dev/null @@ -1,317 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:58+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: ru_RU\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " -"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "Администратор" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "Вы уверены, что хотите удалить эту запись?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "Вложение" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "Вы можете открыть шаблоны ONLYOFFICE для просмотра и распечатать их." - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "" -"Вы можете открывать, создавать, редактировать и распечатывать шаблоны " -"ONLYOFFICE." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "Отменить" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "Выберите поле ниже, чтобы вставить выбранный параметр" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "Нельзя вставить поле. Пожалуйста, проверьте API автоматизацию." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "Создать или загрузить" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "Создать шаблон" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "Создано" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "Дата создания:" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "Удалить" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "Отображаемое имя" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "Скачать" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "Выпадающее меню" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "Редактировать" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "Поля" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "Группировать по" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "Канбан: нет действий для типа: " - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "Дата последнего изменения:" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "Последнее обновление" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "Дата последнего обновления:" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetype" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "Модель" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "Описание модели" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "Модель, для которой был создан шаблон." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "Модуль / раздел" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "Шаблоны ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "" -"Приложение ONLYOFFICE недоступно. Пожалуйста, свяжитесь с администратором." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "Логотип ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "Шаблоны ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "Можно загрузить только PDF-форму." - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "Печать" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "Распечатать из шаблона" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "Распечатать с помощью ONLYOFFICE" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "Поле поиска" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "Выбрать модель" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "" -"Выберите существующий шаблон. Оставьте поле пустым, чтобы создать пустой " -"шаблон." - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "Имя шаблона" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "Создание шаблона" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "Шаблон удален" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "Загрузка шаблона" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "Неизвестная ошибка" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "Загрузить существующий шаблон" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "Пользователь" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"У вас пока нет шаблонов. Перейдите в приложение Шаблоны ONLYOFFICE, чтобы " -"создать новый шаблон, или попросите администратора создать его." - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "Шаблоны" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "Шаблон ONLYOFFICE" diff --git a/onlyoffice_odoo_templates/i18n/zh_CN.po b/onlyoffice_odoo_templates/i18n/zh_CN.po deleted file mode 100644 index 56f8f561d..000000000 --- a/onlyoffice_odoo_templates/i18n/zh_CN.po +++ /dev/null @@ -1,310 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * onlyoffice_odoo_templates -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server 16.0+e-20240216\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-03 08:20+0000\n" -"PO-Revision-Date: 2024-07-03 17:55+0300\n" -"Last-Translator: \n" -"Language-Team: \n" -"Language: zh_CN\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=1; plural=0;\n" -"X-Generator: Poedit 3.4.4\n" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Administrator" -msgstr "管理员" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Are you sure you want to delete this record?" -msgstr "您确实要删除该记录?" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__attachment_id -msgid "Attachment" -msgstr "附件" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "Can open ONLYOFFICE templates for viewing and print them." -msgstr "打开 ONLYOFFICE 模板进行查看和打印。" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,comment:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_admin -msgid "Can open, create, edit and print ONLYOFFICE templates." -msgstr "打开、创建、编辑和打印 ONLYOFFICE 模板。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Cancel" -msgstr "取消" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Choose the field below to paste selected parameter to the cursor" -msgstr "选择以下字段将选定的参数粘贴到光标处" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js:0 -#, python-format -msgid "Couldn't insert the field. Please check Automation API." -msgstr "无法插入字段。请检查自动化 API。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_controller.xml:0 -#, python-format -msgid "Create or Upload" -msgstr "创建或上传" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Create template" -msgstr "创建模板" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_uid -msgid "Created by" -msgstr "创建者" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__create_date -msgid "Created on" -msgstr "创建于" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Delete" -msgstr "删除" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__display_name -msgid "Display Name" -msgstr "显示名称" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Download" -msgstr "下载" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Dropdown menu" -msgstr "下拉菜单" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban -msgid "Edit" -msgstr "编辑" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Fields" -msgstr "字段" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Group By" -msgstr "分组依据" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__id -msgid "ID" -msgstr "ID" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Kanban: no action for type: " -msgstr "看板:无操作类型:" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates____last_update -msgid "Last Modified on" -msgstr "上次修改日期" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_uid -msgid "Last Updated by" -msgstr "上次更新者" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__write_date -msgid "Last Updated on" -msgstr "上次更新日期" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__mimetype -msgid "Mimetype" -msgstr "Mimetype" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_model -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_kanban_search -msgid "Model" -msgstr "类型" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_name -msgid "Model Description" -msgstr "类型描述" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Model for which the template is being created." -msgstr "正在为其创建模板的类型。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Module/ section" -msgstr "模块/部分" - -#. module: onlyoffice_odoo_templates -#: model:ir.actions.act_window,name:onlyoffice_odoo_templates.action_onlyoffice_odoo_templates -#: model:ir.model,name:onlyoffice_odoo_templates.model_onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_menu -msgid "ONLYOFFICE Templates" -msgstr "ONLYOFFICE 模板" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE cannot be reached. Please contact admin." -msgstr "无法访问 ONLYOFFICE。请联系管理员。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "ONLYOFFICE logo" -msgstr "ONLYOFFICE logo" - -#. module: onlyoffice_odoo_templates -#: model:ir.module.category,name:onlyoffice_odoo_templates.module_category_onlyoffice_odoo_templates -msgid "ONLYOFFICE templates" -msgstr "ONLYOFFICE 模板" - -#. module: onlyoffice_odoo_templates -#. odoo-python -#: code:addons/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py:0 -#, python-format -msgid "Only PDF Form can be uploaded." -msgstr "只能上传 PDF 表单。" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml:0 -#, python-format -msgid "Print" -msgstr "打印" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Print from template" -msgstr "从模板打印" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js:0 -#, python-format -msgid "Print with ONLYOFFICE" -msgstr "使用 ONLYOFFICE 打印" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml:0 -#, python-format -msgid "Search field" -msgstr "搜索字段" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__template_model_id -msgid "Select Model" -msgstr "选择类型" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "" -"Select an existing template. Leave the field blank to create a blank " -"template." -msgstr "选择现有模板。保留字段空白以创建空白模板" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__name -msgid "Template Name" -msgstr "模板名称" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template creation" -msgstr "模板创建" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js:0 -#, python-format -msgid "Template removed" -msgstr "模板已移除" - -#. module: onlyoffice_odoo_templates -#: model_terms:ir.ui.view,arch_db:onlyoffice_odoo_templates.view_onlyoffice_form -msgid "Template uploading" -msgstr "模板上传" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "Unknown error" -msgstr "未知错误" - -#. module: onlyoffice_odoo_templates -#: model:ir.model.fields,field_description:onlyoffice_odoo_templates.field_onlyoffice_odoo_templates__file -msgid "Upload an existing template" -msgstr "上传现有模板" - -#. module: onlyoffice_odoo_templates -#: model:res.groups,name:onlyoffice_odoo_templates.group_onlyoffice_odoo_templates_user -msgid "User" -msgstr "用户" - -#. module: onlyoffice_odoo_templates -#. odoo-javascript -#: code:addons/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js:0 -#, python-format -msgid "" -"You don't have any templates yet. Please go to the ONLYOFFICE Templates app " -"to create a new template or ask your admin to create it." -msgstr "" -"您还没有任何模板。请进入 ONLYOFFICE 模板应用创建新模板,或让管理员创建。" - -#. module: onlyoffice_odoo_templates -#: model:ir.ui.menu,name:onlyoffice_odoo_templates.onlyoffice_submenu -msgid "Templates" -msgstr "模板" - -#~ msgid "ONLYOFFICE Template" -#~ msgstr "ONLYOFFICE 模板" diff --git a/onlyoffice_odoo_templates/models/__init__.py b/onlyoffice_odoo_templates/models/__init__.py deleted file mode 100644 index dfaba67f2..000000000 --- a/onlyoffice_odoo_templates/models/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import onlyoffice_odoo_templates \ No newline at end of file diff --git a/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py b/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py deleted file mode 100644 index d0cea5c0c..000000000 --- a/onlyoffice_odoo_templates/models/onlyoffice_odoo_templates.py +++ /dev/null @@ -1,197 +0,0 @@ -import base64 -import copy -import json -import re -import os - -from odoo import _, api, fields, models -from odoo.exceptions import UserError -from odoo.addons.onlyoffice_odoo.utils import file_utils -from odoo.addons.onlyoffice_odoo_templates.utils import pdf_utils -from odoo.modules import get_module_path - -class OnlyOfficeTemplate(models.Model): - _name = "onlyoffice.odoo.templates" - _description = "ONLYOFFICE Templates" - - name = fields.Char(required=True, string="Template Name") - template_model_id = fields.Many2one("ir.model", string="Select Model") - template_model_name = fields.Char("Model Description", related="template_model_id.name") - template_model_model = fields.Char("Model", related="template_model_id.model") - file = fields.Binary(string="Upload an existing template") - attachment_id = fields.Many2one("ir.attachment", readonly=True) - mimetype = fields.Char(default="application/pdf") - - @api.onchange("name") - def _onchange_name(self): - if self.attachment_id: - self.attachment_id.name = self.name + ".pdf" - self.attachment_id.display_name = self.name - - @api.onchange("file") - def _onchange_file(self): - if self.file and self.create_date: # if file exist - decode_file = base64.b64decode(self.file) - is_pdf_form = pdf_utils.is_pdf_form(decode_file) - if not is_pdf_form: - self.file = False - raise UserError(_("Only PDF Form can be uploaded.")) - self.attachment_id.datas = self.file - self.file = False - - @api.model - def _create_demo_data(self): - module_path = get_module_path(self._module) - templates_dir = os.path.join(module_path, "data", "templates") - if not os.path.exists(templates_dir): - return - - model_folders = [name for name in os.listdir(templates_dir) if os.path.isdir(os.path.join(templates_dir, name))] - - installed_models = self.env["ir.model"].search([]) - installed_models_list = [(model.model, model.name) for model in installed_models] - - for model_name in model_folders: - if any(model_name == model[0] for model in installed_models_list): - templates_path = os.path.join(templates_dir, model_name) - templates_name = [name for name in os.listdir(templates_path) if os.path.isfile(os.path.join(templates_path, name)) and name.lower().endswith(".pdf")] - for template_name in templates_name: - template_path = os.path.join(templates_path, template_name) - template = open(template_path, "rb") - try: - template_data = template.read() - template_data = base64.encodebytes(template_data) - model = self.env["ir.model"].search([("model", "=", model_name)], limit=1) - name = template_name.rstrip(".pdf") - self.create({ - "name": name, - "template_model_id": model.id, - "file": template_data, - }) - finally: - template.close() - return - - @api.model - def create(self, vals): - if vals.get("file"): - decode_file = base64.b64decode(vals.get("file")) - is_pdf_form = pdf_utils.is_pdf_form(decode_file) - if not is_pdf_form: - raise UserError(_("Only PDF Form can be uploaded.")) - - file = vals.get("file") or base64.encodebytes(file_utils.get_default_file_template(self.env.user.lang, "pdf")) - mimetype = file_utils.get_mime_by_ext("pdf") - - vals["file"] = file - vals["mimetype"] = mimetype - - datas = vals.pop("file", None) - record = super(OnlyOfficeTemplate, self).create(vals) - if datas: - attachment = self.env["ir.attachment"].create( - { - "name": vals.get("name", record.name) + ".pdf", - "display_name": vals.get("name", record.name), - "mimetype": vals.get("mimetype", ""), - "datas": datas, - "res_model": self._name, - "res_id": record.id, - } - ) - record.attachment_id = attachment.id - return record - - @api.model - def get_fields_for_model(self, model_name): - processed_models = set() - cached_models = {} - - def process_model(model_name): - if model_name in processed_models: - return {} - - processed_models.add(model_name) - - model = self.env["ir.model"].search([("model", "=", model_name)], limit=1) - if not model: - processed_models.discard(model_name) - return {} - description = model.name - - fields = self.env[model_name].fields_get([], attributes=("name", "type", "string", "relation")) - - form_fields = self.env[model_name].get_view()['models'] - form_fields = form_fields[model_name] - - field_list = [] - for field_name, field_props in fields.items(): - field_type = field_props["type"] - - if field_type in ["one2many", "many2many", "many2one"] and field_name not in form_fields: - continue - - if field_type in ["html", "json"]: - continue # TODO: - - field_dict = { - "name": field_name, - "string": field_props.get("string", ""), - "type": field_props["type"], - } - - if field_type in ["one2many", "many2many", "many2one"]: - related_model = field_props["relation"] - if cached_models.get(related_model): - field_dict["related_model"] = { - "name": field_name, - "description": cached_models[related_model]["description"], - "fields": cached_models[related_model]["fields"], - } - else: - if field_type == "many2one": - related_description = self.env["ir.model"].search([("model", "=", related_model)], limit=1) - related_description = related_description.name - related_fields = self.env[related_model].fields_get([], attributes=("name", "type", "string")) - related_form_fields = self.env[related_model].get_view()['models'] - related_form_fields = related_form_fields[related_model] - related_field_list = [] - for (related_field_name, related_field_props) in related_fields.items(): - if related_field_props["type"] in ["html", "json"]: - continue # TODO: - if related_field_name not in related_form_fields: - continue - related_field_dict = { - "name": related_field_name, - "string": related_field_props.get("string", ""), - "type": related_field_props["type"], - } - related_field_list.append(related_field_dict) - related_model_info = { - "name": field_name, - "description": related_description, - "fields": related_field_list, - } - if related_field_list: - field_dict["related_model"] = related_model_info - cached_models[related_model] = related_model_info - else: - processed_model = process_model(related_model) - if processed_model: - field_dict["related_model"] = processed_model - cached_models[related_model] = processed_model - - field_list.append(field_dict) - - model_info = { - "name": model_name, - "description": description, - "fields": field_list, - } - - processed_models.discard(model_name) - return model_info - - models_info = process_model(model_name) - data = json.dumps(models_info, ensure_ascii=False) - return data \ No newline at end of file diff --git a/onlyoffice_odoo_templates/security/ir.model.access.csv b/onlyoffice_odoo_templates/security/ir.model.access.csv deleted file mode 100644 index 812c3488a..000000000 --- a/onlyoffice_odoo_templates/security/ir.model.access.csv +++ /dev/null @@ -1,4 +0,0 @@ -id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_onlyoffice_odoo_templates_user,OnlyOffice Template User Access,onlyoffice_odoo_templates.model_onlyoffice_odoo_templates,group_onlyoffice_odoo_templates_user,1,0,0,0 -access_onlyoffice_odoo_templates_admin,OnlyOffice Template Admin Access,onlyoffice_odoo_templates.model_onlyoffice_odoo_templates,group_onlyoffice_odoo_templates_admin,1,1,1,1 -access_onlyoffice_odoo_templates,OnlyOffice Template,onlyoffice_odoo_templates.model_onlyoffice_odoo_templates,,0,0,0,0 diff --git a/onlyoffice_odoo_templates/security/onlyoffice_templates_security.xml b/onlyoffice_odoo_templates/security/onlyoffice_templates_security.xml deleted file mode 100644 index e4df7d2a9..000000000 --- a/onlyoffice_odoo_templates/security/onlyoffice_templates_security.xml +++ /dev/null @@ -1,55 +0,0 @@ - - - - ONLYOFFICE templates - 30 - - - - - User - - Can open ONLYOFFICE templates for viewing and print them. - - - - - Administrator - - - Can open, create, edit and print ONLYOFFICE templates. - - - - - - - - - - - - - - - - - User Access - - - - - - - - - - Administrator Access - - - - - - - - \ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/description/access_rights.png b/onlyoffice_odoo_templates/static/description/access_rights.png deleted file mode 100644 index 50f22012e..000000000 Binary files a/onlyoffice_odoo_templates/static/description/access_rights.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/static/description/create_templates.png b/onlyoffice_odoo_templates/static/description/create_templates.png deleted file mode 100644 index cc288c04a..000000000 Binary files a/onlyoffice_odoo_templates/static/description/create_templates.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/static/description/edit_templates.png b/onlyoffice_odoo_templates/static/description/edit_templates.png deleted file mode 100644 index cd113a610..000000000 Binary files a/onlyoffice_odoo_templates/static/description/edit_templates.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/static/description/icon.png b/onlyoffice_odoo_templates/static/description/icon.png deleted file mode 100644 index d1cefbb15..000000000 Binary files a/onlyoffice_odoo_templates/static/description/icon.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/static/description/index.html b/onlyoffice_odoo_templates/static/description/index.html deleted file mode 100644 index a2ca74903..000000000 --- a/onlyoffice_odoo_templates/static/description/index.html +++ /dev/null @@ -1,104 +0,0 @@ -
-
-

Automate form creation with inserting fields from Odoo in templates

-
- -

- Work with fillable templates in Odoo using ONLYOFFICE. Create templates based on the data and fields available in Odoo, fill them out and print with several clicks. -

-
-
-
-
- -
-
-
-
Edit the existing templates
-
-
-

- Launch the ONLYOFFICE Templates app to open the page with the existing form templates. Each template has a tag indicating which Odoo module the template was created for. -

-

- When you click the Edit button in the file context menu, a form template will open in the ONLYOFFICE editor. The left panel dynamically displays the fields from Odoo that can be linked to the ONLYOFFICE form fields. The Odoo field ID is written in the Key field of the editor in the right panel. -

-
-
-
- -
-
-
-
- -
-
-
-
Create new templates
-
-
-

- To create a new template, click the Create&Upload button. In the pop-up window, specify the template name and select the Odoo module to which the template belongs. -

-
-
-
- -
-
-
-

- You can upload any existing form template from your local drive (using the Upload your file button), or save a new blank template (using the Create button in the upper right corner). -

-
-
-
- -
-
-
-
Work with ready templates
-
-
-

- The ONLYOFFICE app is integrated into all sections/modules of Odoo. You can print the form by clicking the "Print with ONLYOFFICE" button in the Action menu. -

-
-
-
- -
-
-
-

- Next, a window appears with a list of templates available for this section. Select the required template so that it is filled with the data taken from the linked Odoo page (deal, employee card, etc.). -

-
-
-
- -
-
-
-
Access rights
-
-
-

- There are two types of roles for this app: -

-
    -
  • User: can print templates and open them for viewing. Users cannot create new templates and cannot edit the current ones.
  • -
  • Administrator: can open, create, edit and print templates.
  • -
-

- The role type is specified in the user profile. By default, all users are assigned the User role. -

-
-
-
- -
-
-
-
\ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/description/main_screenshot.png b/onlyoffice_odoo_templates/static/description/main_screenshot.png deleted file mode 100644 index 5442b7076..000000000 Binary files a/onlyoffice_odoo_templates/static/description/main_screenshot.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/static/description/work_with_templates.png b/onlyoffice_odoo_templates/static/description/work_with_templates.png deleted file mode 100644 index 0ec52f81e..000000000 Binary files a/onlyoffice_odoo_templates/static/description/work_with_templates.png and /dev/null differ diff --git a/onlyoffice_odoo_templates/static/src/css/onlyoffice_dialog.scss b/onlyoffice_odoo_templates/static/src/css/onlyoffice_dialog.scss deleted file mode 100644 index 50a2f796a..000000000 --- a/onlyoffice_odoo_templates/static/src/css/onlyoffice_dialog.scss +++ /dev/null @@ -1,4 +0,0 @@ -.o_onlyoffice_kanban_record_selected { - border-color: #017e84; - box-shadow: 0 0 0 2px #017e84; -} \ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/src/css/onlyoffice_editor.scss b/onlyoffice_odoo_templates/static/src/css/onlyoffice_editor.scss deleted file mode 100644 index 8dc1eac18..000000000 --- a/onlyoffice_odoo_templates/static/src/css/onlyoffice_editor.scss +++ /dev/null @@ -1,99 +0,0 @@ -.o-onlyoffice-template { - display: flex; - - iframe { - width: 100%; - height: 100%; - } - - .o-onlyoffice-template-panel { - width: 260px; - max-width: 260px; - height: 100%; - flex-shrink: 0; - font-size: 11px; - border-right: 1.5px var(--gray-300) solid; - - .o-onlyoffice-panel-header { - display: flex; - height: 54px; - padding: 10px; - align-items: center; - - span { - font-weight: bold; - } - } - - .o-onlyoffice-panel-separator { - width: 100%; - height: 1.5px; - margin: 0; - flex-shrink: 0; - border-color: var(--gray-300); - } - - .o-onlyoffice-panel-body { - display: flex; - height: calc(100% - 56px); - flex-direction: column; - row-gap: 10px; - padding: 10px; - - .o-onlyoffice-body-title { - span { - } - } - - .o-onlyoffice-body-search { - display: flex; - flex-direction: column; - row-gap: 10px; - - .o-onlyoffice-search-title { - span { - font-weight: bold; - text-transform: capitalize; - } - } - - .o-onlyoffice-search-field { - position: relative; - - input { - height: 24px; - } - - button { - display: flex; - position: absolute; - top: 0; - right: 0; - align-items: center; - border: none; - height: 100%; - background-color: transparent; - - svg { - path { - fill: var(--gray-900); - } - - width: 14px; - height: 14px; - } - } - } - } - - .o-onlyoffice-body-models { - display: flex; - flex-direction: column; - padding-right: 4px; - row-gap: 5px; - overflow-y: auto; - overflow-x: hidden; - } - } - } -} \ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/src/css/onlyoffice_editor_component.scss b/onlyoffice_odoo_templates/static/src/css/onlyoffice_editor_component.scss deleted file mode 100644 index aa15a8966..000000000 --- a/onlyoffice_odoo_templates/static/src/css/onlyoffice_editor_component.scss +++ /dev/null @@ -1,103 +0,0 @@ -.o-onlyoffice-models-list { - display: flex; - flex-direction: column; - row-gap: 5px; - - .o-onlyoffice-model { - .o-onlyoffice-model-button { - padding: 5px 10px 5px 20px; - width: 100%; - text-align: start; - padding-left: 20px; - font-weight: bold; - position: relative; - border: none; - background-color: inherit; - - svg { - path { - fill: var(--gray-900); - } - - position: absolute; - left: 10px; - height: 100%; - top: 0; - } - - .o-onlyoffice-model-description { - text-wrap: nowrap; - text-overflow: ellipsis; - overflow: hidden; - text-transform: capitalize; - color: var(--gray-900); - } - - .o-onlyoffice-model-name { - text-wrap: nowrap; - text-overflow: ellipsis; - overflow: hidden; - color: var(--gray-500); - } - } - - .o-onlyoffice-model-button:hover { - background-color: var(--gray-300); - } - - .o-onlyoffice-model-button_open { - svg { - transform: rotate(90deg); - } - - background-color: var(--gray-300); - } - } - - .o-onlyoffice-fields-list { - display: flex; - flex-direction: column; - row-gap: 5px; - } - - .o-onlyoffice-field { - padding: 5px 10px; - border: 1px var(--gray-300) solid; - text-align: center; - font-weight: bold; - cursor: pointer; - text-overflow: ellipsis; - overflow: hidden; - text-wrap: nowrap; - - .o-onlyoffice-field-name { - text-wrap: nowrap; - text-overflow: ellipsis; - overflow: hidden; - color: var(--gray-500); - } - - .o-onlyoffice-field-string { - text-wrap: nowrap; - text-overflow: ellipsis; - overflow: hidden; - color: var(--gray-900); - } - } - - .o-onlyoffice-field:hover { - background-color: var(--gray-200); - } - - .o-onlyoffice-field:active { - background-color: var(--gray-200); - } -} - -.o-onlyoffice-fields-separator { - width: 100%; - height: 2px; - margin: 10px 0; - flex-shrink: 0; - border-color: var(--gray-300); -} \ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js b/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js deleted file mode 100644 index b93680051..000000000 --- a/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.js +++ /dev/null @@ -1,143 +0,0 @@ -/** @odoo-module **/ -import { Dialog } from "@web/core/dialog/dialog"; -import { Pager } from "@web/core/pager/pager"; -import { KeepLast } from "@web/core/utils/concurrency"; -import { SearchModel } from "@web/search/search_model"; -import { useService } from "@web/core/utils/hooks"; -import { useHotkey } from "@web/core/hotkeys/hotkey_hook"; -import { getDefaultConfig } from "@web/views/view"; -import { AlertDialog } from "@web/core/confirmation_dialog/confirmation_dialog"; - -import { _t } from "@web/core/l10n/translation"; - -const { Component, useState, useSubEnv, useChildSubEnv, onWillStart } = owl; - -export class TemplateDialog extends Component { - setup() { - this.orm = useService("orm"); - this.rpc = useService("rpc"); - this.viewService = useService("view"); - this.notificationService = useService("notification"); - this.dialog = useService("dialog"); - - this.data = this.env.dialogData; - useHotkey("escape", () => this.data.close()); - - this.dialogTitle = _t("Print from template"); - this.limit = 8; - this.state = useState({ - isOpen: true, - templates: [], - totalTemplates: 0, - selectedTemplateId: null, - currentOffset: 0, - isProcessing: false, - }); - - useSubEnv({ - config: { - ...getDefaultConfig(), - }, - }); - - this.model = new SearchModel(this.env, { - user: useService("user"), - orm: this.orm, - view: useService("view"), - }); - - useChildSubEnv({ - searchModel: this.model, - }); - - this.dp = new KeepLast(); - - onWillStart(async () => { - const { resModel } = this.props; - const views = await this.viewService.loadViews({ - resModel: "onlyoffice.odoo.templates", - context: this.props.context, - views: [[false, "search"]], - }); - await this.model.load({ - resModel: "onlyoffice.odoo.templates", - domain: [["template_model_model", "=", resModel]], - context: this.props.context, - orderBy: "id", - searchMenuTypes: [], - searchViewArch: views.views.search.arch, - searchViewId: views.views.search.id, - searchViewFields: views.fields, - }); - await this.fetchTemplates(); - }); - } - - async createTemplate() { - //TODO: create template from dialog - } - - async fetchTemplates(offset = 0) { - const { domain, context } = this.model; - const records = await this.orm.searchRead( - "onlyoffice.odoo.templates", - domain, - ["name", "create_date", "create_uid", "attachment_id", "mimetype"], - { context, order: 'id', limit: this.limit, offset } - ); - this.state.templates = records; - const length = await this.orm.searchCount("onlyoffice.odoo.templates", domain, { context }); - if (!length) { - this.dialog.add(AlertDialog, { - title: this.dialogTitle, - body: _t("You don't have any templates yet. Please go to the ONLYOFFICE Templates app to create a new template or ask your admin to create it."), - }); - return this.data.close(); - } else { - this.state.totalTemplates = length; - } - } - - async fillTemplate() { - this.state.isProcessing = true; - - const templateId = this.state.selectedTemplateId; - const { resId, resModel } = this.props; - - const response = await this.rpc("/onlyoffice/template/get_filled_template", { - template_id: templateId, - record_id: resId, - model_name: resModel, - }); - - if (!response) { - this.notificationService.add(_t("Unknown error"), { type: "danger" }); - } else if (response.href) { - window.location.href = response.href; - } else if (response.error) { - this.notificationService.add(_t(response.error), { type: "danger" }); - } - this.data.close(); - } - - selectTemplate(templateId) { - this.state.selectedTemplateId = templateId; - } - - isSelected(templateId) { - return this.state.selectedTemplateId === templateId; - } - - onPagerChange({ offset }) { - this.state.currentOffset = offset; - this.state.selectedTemplateId = null; - return this.fetchTemplates(this.state.currentOffset); - } - - isButtonDisabled() { - return this.state.isProcessing || this.state.selectedTemplateId === null; - } -} - -TemplateDialog.template = "onlyoffice_odoo_templates.TemplateDialog"; -TemplateDialog.components = { Dialog, Pager }; diff --git a/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml b/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml deleted file mode 100644 index 7c33acbc8..000000000 --- a/onlyoffice_odoo_templates/static/src/views/dialog/onlyoffice_dialog.xml +++ /dev/null @@ -1,74 +0,0 @@ - - - -
- -
- -
-
- -
-
-
-
-
-
-
-
- -
-
-
- -
- -
- -
- -
- -
-
-
- - - -
-
-
-
-
-
-
-
-
-
- - - - -
-
-
-
\ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js b/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js deleted file mode 100644 index c3bf0f36f..000000000 --- a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.js +++ /dev/null @@ -1,281 +0,0 @@ -/** @odoo-module **/ - -import { registry } from "@web/core/registry"; -import { useBus, useService } from "@web/core/utils/hooks"; -import { cookie } from "@web/core/browser/cookie"; -import { EditorComponent } from "./onlyoffice_editor_component"; - -import { _t } from "@web/core/l10n/translation"; - -const { Component, useState, onMounted, onWillUnmount } = owl; - -class TemplateEditor extends Component { - setup() { - super.setup(...arguments); - this.orm = useService("orm"); - this.rpc = useService("rpc"); - this.viewService = useService("view"); - this.EditorComponent = EditorComponent; - this.notificationService = useService("notification"); - - this.state = useState({ - models: null, - searchString: "", - }); - - this.config = null; - this.docApiJS = null; - this.documentReady = false; - this.hasLicense = false; - this.script = null; - this.unchangedModels = {}; - - useBus(this.env.bus, "onlyoffice-template-field-click", (field) => this.onFieldClick(field.detail)); - - onMounted(async () => { - try { - if (!this.props.id) { - const urlParams = new URLSearchParams(window.location.hash); - let id = urlParams.get('id'); - if (!id) return - this.props.id = id; - } - - const [{ template_model_model, attachment_id }] = await this.orm.read("onlyoffice.odoo.templates", [parseInt(this.props.id)], ["template_model_model", "attachment_id"]); - - // Set id to URL - if (!new URLSearchParams(window.location.hash).has("id")) { - const newUrl = window.location.href + `&id=${this.props.id}`; - history.replaceState(null, null, newUrl); - } - - const models = JSON.parse( - await this.orm.call("onlyoffice.odoo.templates", "get_fields_for_model", [template_model_model]), - ); - - // Add keys to field - const formattedModels = this.formatModels(models); - this.unchangedModels = formattedModels; - - const response = await this.rpc(`/onlyoffice/template/editor`, { - attachment_id: attachment_id[0], - }); - const config = JSON.parse(response.editorConfig); - config.events = { - onDocumentReady: () => { - if (window.docEditor && 'createConnector' in window.docEditor) { - window.connector = docEditor.createConnector(); - window.connector.executeMethod("GetVersion", [], (_version) => { - this.hasLicense = true; - }); - } - // Render fields - this.state.models = formattedModels; - this.documentReady = true; - }, - }; - const theme = cookie.get("color_scheme"); - config.editorConfig.customization = { - ...config.editorConfig.customization, - uiTheme: theme ? `theme-${theme}` : "theme-light", - }; - this.config = config; - - this.docApiJS = response.docApiJS; - if (!window.DocsAPI) { - await this.loadDocsAPI(this.docApiJS); - } - if (window.DocsAPI) { - window.docEditor = new DocsAPI.DocEditor("doceditor", this.config); - } else { - throw new Error("window.DocsAPI is null"); - } - } catch (error) { - console.error("onMounted TemplateEditor error:", error); - document.getElementById("error").classList.remove("d-none"); - } - }); - - onWillUnmount(() => { - if (window.connector) { - window.connector.disconnect(); - delete window.connector; - } - if (window.docEditor) { - window.docEditor.destroyEditor(); - delete window.docEditor; - } - if (this.script && this.script.parentNode) { - this.script.parentNode.removeChild(this.script); - } - if (window.DocsAPI) { - delete window.DocsAPI; - } - }); - } - - async loadDocsAPI(DocsAPI) { - return new Promise((resolve, reject) => { - const script = document.createElement("script"); - script.src = DocsAPI; - script.onload = resolve; - script.onerror = reject; - document.body.appendChild(script); - this.script = script; - }); - } - - formatModels(models, parentNames = []) { - if (!models.fields) return models; - models.fields = models.fields.map((field) => { - const key = [...parentNames, field.name].join(" "); - field.key = key; - if (field.related_model) { - field.related_model = this.formatModels(field.related_model, [...parentNames, field.name]); - } - return field; - }).sort((a, b) => { - if (a.related_model && !b.related_model) { - return -1; - } - if (!a.related_model && b.related_model) { - return 1; - } - return a.key.localeCompare(b.key); - }); - return models; - } - - setModelsFilter() { - const searchAndExpand = (models) => { - if (!models.fields) return; - const searchString = this.state.searchString.toLowerCase(); - const filteredFields = models.fields.filter(field => { - if (field.key.split(' ').pop().toLowerCase().includes(searchString)) { - return true; - } else if (field.related_model) { - field.related_model = searchAndExpand(field.related_model); - return field.related_model !== null; - } - return false; - }); - - if (filteredFields.length === 0) { - return null; - } - - return { - ...models, - fields: filteredFields - }; - } - const unchangedModels = structuredClone(this.unchangedModels); - this.state.models = searchAndExpand(unchangedModels); - } - - onCleanSearchClick() { - if (this.documentReady) { - this.state.searchString = ""; - this.state.models = this.unchangedModels; - } - } - - onSearchInput() { - if (this.documentReady) { - if (this.state.searchString) { - this.setModelsFilter(); - } else { - this.onCleanSearchClick(); - } - } - } - - onFieldClick(field) { - if (this.documentReady) { - if (!this.hasLicense) { - this.notificationService.add(_t("Couldn't insert the field. Please check Automation API."), { type: "danger" }); - return; - } else { - const type = field.type; - // TODO: add image form and other forms - if ( - type === "char" || - type === "text" || - type === "selection" || - type === "integer" || - type === "float" || - type === "monetary" || - type === "date" || - type === "datetime" || - type === "many2one" || - type === "one2many" || - type === "many2many" - ) { - this.createTextForm(field); - } - if (type === "boolean") { - this.createCheckBoxForm(field); - } - if (type === "binary") { - this.createPictureForm(field); - } - window.docEditor.grabFocus(); - } - } - } - - createTextForm = (data) => { - Asc.scope.data = data; - window.connector.callCommand(() => { - var oDocument = Api.GetDocument(); - var oTextForm = Api.CreateTextForm({ - key: Asc.scope.data.key, - placeholder: Asc.scope.data.string, - tip: Asc.scope.data.string, - tag: Asc.scope.data.model, - }); - var oParagraph = Api.CreateParagraph(); - oParagraph.AddElement(oTextForm); - oDocument.InsertContent([oParagraph], true, { KeepTextOnly: true }); - }); - }; - - createCheckBoxForm = (data) => { - Asc.scope.data = data; - window.connector.callCommand(() => { - var oDocument = Api.GetDocument(); - var oCheckBoxForm = Api.CreateCheckBoxForm({ - key: Asc.scope.data.key, - tip: Asc.scope.data.string, - tag: Asc.scope.data.model, - }); - oCheckBoxForm.ToInline(); - var oParagraph = Api.CreateParagraph(); - oParagraph.AddElement(oCheckBoxForm); - oDocument.InsertContent([oParagraph], true, { KeepTextOnly: true }); - }); - }; - - createPictureForm = (data) => { - Asc.scope.data = data; - window.connector.callCommand(() => { - var oDocument = Api.GetDocument(); - var oPictureForm = Api.CreatePictureForm({ - key: Asc.scope.data.key, - placeholder: Asc.scope.data.string, - tip: Asc.scope.data.string, - tag: Asc.scope.data.model, - }); - var oParagraph = Api.CreateParagraph(); - oParagraph.AddElement(oPictureForm); - oDocument.InsertContent([oParagraph], true, { KeepTextOnly: true }); - }); - }; -} -TemplateEditor.components = { - ...Component.components, - EditorComponent, -}; -TemplateEditor.template = "onlyoffice_odoo_templates.TemplateEditor"; - -registry.category("actions").add("onlyoffice_odoo_templates.TemplateEditor", TemplateEditor); diff --git a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml b/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml deleted file mode 100644 index de4b7ab72..000000000 --- a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor.xml +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - - - ONLYOFFICE - - - - - -
-
- Fields -
-
-
-
- - Choose the field below to paste selected parameter to the cursor - -
- -
- -
- -
- - - - - -
-
- -
-
- -
-
-
-
-
-
- -
-
-
-
-
-
-
- ONLYOFFICE logo -
-

- ONLYOFFICE cannot be reached. Please contact admin. -

-
-
- - - - \ No newline at end of file diff --git a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor_component.js b/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor_component.js deleted file mode 100644 index 60a644f9f..000000000 --- a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor_component.js +++ /dev/null @@ -1,23 +0,0 @@ -/** @odoo-module **/ -import { Component, useState } from "@odoo/owl"; - -export class EditorComponent extends Component { - setup() { - this.state = useState({ - isExpanded: false - }); - } - toggleExpand() { - this.state.isExpanded = !this.state.isExpanded; - } - - onFieldClick(field) { - this.env.bus.trigger("onlyoffice-template-field-click", field); - } -} -EditorComponent.components = { - ...Component.components, - EditorComponent, -}; -EditorComponent.template = "onlyoffice_odoo_templates.EditorComponent"; -EditorComponent.props = ["model", "searchString", "level"]; diff --git a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor_component.xml b/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor_component.xml deleted file mode 100644 index b9142a721..000000000 --- a/onlyoffice_odoo_templates/static/src/views/editor/onlyoffice_editor_component.xml +++ /dev/null @@ -1,41 +0,0 @@ - -
-
- -
-
- - - - - - - - -
-
- -
-
- -
-
- -
-
-
-
-
-
-
-
diff --git a/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js b/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js deleted file mode 100644 index 89244ba80..000000000 --- a/onlyoffice_odoo_templates/static/src/views/form/onlyoffice_form_view.js +++ /dev/null @@ -1,30 +0,0 @@ -/** @odoo-module **/ -import { FormController } from "@web/views/form/form_controller"; -import { patch } from "@web/core/utils/patch"; -import { TemplateDialog } from "../dialog/onlyoffice_dialog"; -import { _t } from "@web/core/l10n/translation"; - -patch(FormController.prototype, { - setup() { - super.setup(...arguments); - }, - - getStaticActionMenuItems() { - const { activeActions } = this.archInfo; - const menuItems = super.getStaticActionMenuItems(...arguments); - menuItems.printWithOnlyoffice = { - isAvailable: () => activeActions.type === "view", - sequence: 60, - icon: "fa fa-print", - description: _t("Print with ONLYOFFICE"), - callback: () => { - this.env.services.dialog.add(TemplateDialog, { - resId: this.model.root.resId, - resModel: this.props.resModel, - }); - }, - skipSave: true, - } - return menuItems - } -}); diff --git a/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js b/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js deleted file mode 100644 index 69fef8a28..000000000 --- a/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_record.js +++ /dev/null @@ -1,36 +0,0 @@ -/** @odoo-module **/ -import { CANCEL_GLOBAL_CLICK, KanbanRecord } from "@web/views/kanban/kanban_record"; -import { useService } from "@web/core/utils/hooks"; - -export class OnlyofficeKanbanRecord extends KanbanRecord { - setup() { - super.setup(...arguments); - this.orm = useService("orm"); - this.actionService = useService("action"); - } - - /** - * @override - */ - async onGlobalClick(ev) { - if (ev.target.closest(CANCEL_GLOBAL_CLICK) && !ev.target.classList.contains("o_onlyoffice_download")) { - return; - } - if (ev.target.classList.contains("o_onlyoffice_download")) { - window.location.href = `/onlyoffice/template/download/${this.props.record.data.attachment_id[0]}`; - return; - } - return this.editTemplate(); - } - - async editTemplate() { - const action = { - type: "ir.actions.client", - tag: "onlyoffice_odoo_templates.TemplateEditor", - target: "current", - }; - return this.actionService.doAction(action, { - props: this.props.record.data, - }); - } -} diff --git a/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_renderer.js b/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_renderer.js deleted file mode 100644 index a562f2119..000000000 --- a/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_renderer.js +++ /dev/null @@ -1,29 +0,0 @@ -/** @odoo-module **/ - -import { KanbanRenderer } from "@web/views/kanban/kanban_renderer"; -import { OnlyofficeKanbanRecord } from "./onlyoffice_kanban_record"; - -export class OnlyofficeKanbanRenderer extends KanbanRenderer { - setup() { - super.setup(...arguments); - } - - /** - * @override - **/ - canQuickCreate() { - return false; - } - - /** - * @override - **/ - canCreateGroup() { - return false; - } -} - -OnlyofficeKanbanRenderer.components = { - ...KanbanRenderer.components, - KanbanRecord: OnlyofficeKanbanRecord, -}; diff --git a/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_view.js b/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_view.js deleted file mode 100644 index d8577fc95..000000000 --- a/onlyoffice_odoo_templates/static/src/views/kanban/onlyoffice_kanban_view.js +++ /dev/null @@ -1,11 +0,0 @@ -/** @odoo-module */ -import { registry } from "@web/core/registry"; -import { kanbanView } from "@web/views/kanban/kanban_view"; -import { OnlyofficeKanbanRenderer } from "./onlyoffice_kanban_renderer"; - -export const onlyofficeKanbanView = { - ...kanbanView, - Renderer: OnlyofficeKanbanRenderer -}; - -registry.category("views").add("onlyoffice_kanban", onlyofficeKanbanView); diff --git a/onlyoffice_odoo_templates/static/svg/onlyoffice_logo.svg b/onlyoffice_odoo_templates/static/svg/onlyoffice_logo.svg deleted file mode 100644 index 2b5d93218..000000000 --- a/onlyoffice_odoo_templates/static/svg/onlyoffice_logo.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/onlyoffice_odoo_templates/utils/pdf_utils.py b/onlyoffice_odoo_templates/utils/pdf_utils.py deleted file mode 100644 index 12d43f61d..000000000 --- a/onlyoffice_odoo_templates/utils/pdf_utils.py +++ /dev/null @@ -1,38 +0,0 @@ -# TODO: add convert docx to pdf - -def is_pdf_form(text): - if not text: - return False - - index_first = text.find(b'%\xCD\xCA\xD2\xA9\x0D') - if index_first == -1: - return False - - p_first = text[index_first + 6:] - - if not p_first.startswith(b'1 0 obj\x0A<<\x0A'): - return False - - p_first = p_first[11:] - - signature = b'ONLYOFFICEFORM' - index_stream = p_first.find(b'stream\x0D\x0A') - index_meta = p_first.find(signature) - - if index_stream == -1 or index_meta == -1 or index_stream < index_meta: - return False - - p_meta = p_first[index_meta:] - p_meta = p_meta[len(signature) + 3:] - - index_meta_last = p_meta.find(b' ') - if index_meta_last == -1: - return False - - p_meta = p_meta[index_meta_last + 1:] - - index_meta_last = p_meta.find(b' ') - if index_meta_last == -1: - return False - - return True \ No newline at end of file diff --git a/onlyoffice_odoo_templates/views/onlyoffice_menu_views.xml b/onlyoffice_odoo_templates/views/onlyoffice_menu_views.xml deleted file mode 100644 index 09536b92f..000000000 --- a/onlyoffice_odoo_templates/views/onlyoffice_menu_views.xml +++ /dev/null @@ -1,118 +0,0 @@ - - - - - onlyoffice.odoo.templates.form - onlyoffice.odoo.templates - -
- - - - - - - - - - - -
-
-
- - - onlyoffice.odoo.templates.kanban.search - onlyoffice.odoo.templates - - - - - - - - - - - - - - - - onlyoffice.odoo.templates.kanban - onlyoffice.odoo.templates - - - - - - - - - - - - - Edit - Delete - Download - - -
-
-
-
-
-
-
-
-
-
- -
-
- -
-
- - - -
- -
-
-
-
-
-
-
-
-
-
- - - ONLYOFFICE Templates - onlyoffice.odoo.templates - kanban,form - - - - - -
-
\ No newline at end of file diff --git a/sh_backmate_theme_adv_enterprise/controllers/home.py b/sh_backmate_theme_adv_enterprise/controllers/home.py index 48fc97fd9..7a5f44f72 100644 --- a/sh_backmate_theme_adv_enterprise/controllers/home.py +++ b/sh_backmate_theme_adv_enterprise/controllers/home.py @@ -20,8 +20,6 @@ MENU_BADGE_MODEL_FUNC_ENUM = { 'purchase.purchase_order_view_tree': {'model': 'purchase.order', 'func': 'get_no_read_count'}, 'yuthon_property.yuthon_property_rent_list': {'model': 'property.rent.list', 'func': 'get_no_read_count'}, 'yuthon_property.yuthon_property_management_list': {'model': 'property.management.list', 'func': 'get_no_read_count'}, - 'yuthon_property.yuthon_property_tariff_list': {'model': 'property.tariff.list', 'func': 'get_no_read_count'}, - 'yuthon_property.yuthon_property_water_list': {'model': 'property.water.list', 'func': 'get_no_read_count'}, 'yuthon_property.yuthon_property_deposit_list': {'model': 'property.deposit.list', 'func': 'get_no_read_count'}, 'soong_workflow.menu_workflow_approval_request_my_start': {'model': 'soong.workflow.record', 'func': 'get_no_read_count'}, 'soong_workflow.menu_workflow_approval_request_copy': {'model': 'soong.workflow.record.copy', 'func': 'get_no_read_count'}, diff --git a/soong_workflow/models/soong_workflow_record.py b/soong_workflow/models/soong_workflow_record.py index 8e38fcdc8..98f7d5e78 100644 --- a/soong_workflow/models/soong_workflow_record.py +++ b/soong_workflow/models/soong_workflow_record.py @@ -45,6 +45,7 @@ class SoongWorkflowRecord(models.Model): company_id = fields.Many2one(related="create_uid.company_id", string="公司") approve_state = fields.Selection([("start", "草稿"), ("pending", "审批中"), ("end", "结束")], default="start", string="状态") reclaim_state = fields.Boolean(string="回收") + meal = fields.Selection([('yes', '是'), ('no', '否')], string="误餐费", default=None) approvals_group_id = fields.Many2one(related='workflow_id.approvals_group_id', string="审批分组", store=True) department_id = fields.Many2one("hr.department", string="部门", required=True) done_by = fields.Many2one(comodel_name="res.users", string="发起人") @@ -90,8 +91,10 @@ class SoongWorkflowRecord(models.Model): work.workflow_happen_date = record_id.hour_leave_ids[0].request_date_from if work.workflow_id.name == '加班': work.workflow_happen_date = record_id.start_time + work.meal = record_id.meal if work.workflow_id.name == '外出': work.workflow_happen_date = record_id.date_start + work.meal = record_id.meal def admin_end(self): workflow_ids = self.env["soong.workflow.record"].browse( diff --git a/soong_workflow/templates/soong_workflow_templates.xml b/soong_workflow/templates/soong_workflow_templates.xml index 752a5bef5..b54b43135 100644 --- a/soong_workflow/templates/soong_workflow_templates.xml +++ b/soong_workflow/templates/soong_workflow_templates.xml @@ -8,9 +8,9 @@ - + @@ -22,9 +22,9 @@ - + @@ -70,13 +70,13 @@ - + - - + + diff --git a/soong_workflow/views/soong_workflow_record.xml b/soong_workflow/views/soong_workflow_record.xml index cdfffaf32..820785037 100644 --- a/soong_workflow/views/soong_workflow_record.xml +++ b/soong_workflow/views/soong_workflow_record.xml @@ -18,6 +18,7 @@ + @@ -50,6 +51,7 @@ + @@ -85,6 +87,7 @@ +
- + @@ -81,7 +80,7 @@ - + @@ -103,15 +102,16 @@