diff --git a/addons/sale_timesheet_purchase/__init__.py b/addons/sale_timesheet_purchase/__init__.py deleted file mode 100644 index dc5e6b693d1..00000000000 --- a/addons/sale_timesheet_purchase/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from . import models diff --git a/addons/sale_timesheet_purchase/__manifest__.py b/addons/sale_timesheet_purchase/__manifest__.py deleted file mode 100644 index 9689092723e..00000000000 --- a/addons/sale_timesheet_purchase/__manifest__.py +++ /dev/null @@ -1,17 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -{ - 'name': 'Sales Timesheet Purchase', - 'category': 'Hidden', - 'summary': 'Bridge module between Sales Timesheet and Purchase', - 'description': """ -Allows to access purchase orders from Project Overview -====================================================== -""", - 'depends': ['sale_timesheet', 'purchase'], - 'data': [], - 'demo': [], - 'auto_install': True, - 'license': 'LGPL-3', -} diff --git a/addons/sale_timesheet_purchase/i18n/ar.po b/addons/sale_timesheet_purchase/i18n/ar.po deleted file mode 100644 index e07ec044bfc..00000000000 --- a/addons/sale_timesheet_purchase/i18n/ar.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Mustafa Rawi , 2019 -# Osoul , 2019 -# Shaima Safar , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Shaima Safar , 2019\n" -"Language-Team: Arabic (https://www.transifex.com/odoo/teams/41243/ar/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ar\n" -"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "المشروع" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "أوامر الشراء" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "فواتير المورد" diff --git a/addons/sale_timesheet_purchase/i18n/cs.po b/addons/sale_timesheet_purchase/i18n/cs.po deleted file mode 100644 index 8db11c2dac4..00000000000 --- a/addons/sale_timesheet_purchase/i18n/cs.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Martin N , 2019 -# trendspotter , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: trendspotter , 2019\n" -"Language-Team: Czech (https://www.transifex.com/odoo/teams/41243/cs/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: cs\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Objednávky" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Faktury dodavatele" diff --git a/addons/sale_timesheet_purchase/i18n/da.po b/addons/sale_timesheet_purchase/i18n/da.po deleted file mode 100644 index cc19eb84066..00000000000 --- a/addons/sale_timesheet_purchase/i18n/da.po +++ /dev/null @@ -1,38 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Ejner Sønniksen , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Ejner Sønniksen , 2019\n" -"Language-Team: Danish (https://www.transifex.com/odoo/teams/41243/da/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: da\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Indkøbsordrer" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Leverandørfakturaer" diff --git a/addons/sale_timesheet_purchase/i18n/de.po b/addons/sale_timesheet_purchase/i18n/de.po deleted file mode 100644 index c30ac365685..00000000000 --- a/addons/sale_timesheet_purchase/i18n/de.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: German (https://www.transifex.com/odoo/teams/41243/de/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: de\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Bestellungen" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Eingangsrechnungen" diff --git a/addons/sale_timesheet_purchase/i18n/es.po b/addons/sale_timesheet_purchase/i18n/es.po deleted file mode 100644 index 5c57d9b4a19..00000000000 --- a/addons/sale_timesheet_purchase/i18n/es.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: Spanish (https://www.transifex.com/odoo/teams/41243/es/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Proyecto" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Pedidos de compra" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Facturas de proveedor" diff --git a/addons/sale_timesheet_purchase/i18n/fr.po b/addons/sale_timesheet_purchase/i18n/fr.po deleted file mode 100644 index 15c75c1c5bc..00000000000 --- a/addons/sale_timesheet_purchase/i18n/fr.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Aurélien Pillevesse , 2019 -# Laura Piraux , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Laura Piraux , 2019\n" -"Language-Team: French (https://www.transifex.com/odoo/teams/41243/fr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: fr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projet" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Bons de commande" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Factures fournisseurs" diff --git a/addons/sale_timesheet_purchase/i18n/he.po b/addons/sale_timesheet_purchase/i18n/he.po deleted file mode 100644 index ca543070689..00000000000 --- a/addons/sale_timesheet_purchase/i18n/he.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Yihya Hugirat , 2019 -# דודי מלכה , 2019 -# Amit Spilman , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Amit Spilman , 2019\n" -"Language-Team: Hebrew (https://www.transifex.com/odoo/teams/41243/he/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: he\n" -"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "פרוייקט" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "הזמנות רכש" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "חשבונית ספק" diff --git a/addons/sale_timesheet_purchase/i18n/hr.po b/addons/sale_timesheet_purchase/i18n/hr.po deleted file mode 100644 index ee134f39a80..00000000000 --- a/addons/sale_timesheet_purchase/i18n/hr.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Vladimir Olujić , 2019 -# Karolina Tonković , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Karolina Tonković , 2019\n" -"Language-Team: Croatian (https://www.transifex.com/odoo/teams/41243/hr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: hr\n" -"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Nalozi u nabavi" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Ulazni računi" diff --git a/addons/sale_timesheet_purchase/i18n/hu.po b/addons/sale_timesheet_purchase/i18n/hu.po deleted file mode 100644 index 45b40b887d7..00000000000 --- a/addons/sale_timesheet_purchase/i18n/hu.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# gezza , 2019 -# Ákos Nagy , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Ákos Nagy , 2019\n" -"Language-Team: Hungarian (https://www.transifex.com/odoo/teams/41243/hu/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: hu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Szállítói megrendelések" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Szállítói számlák" diff --git a/addons/sale_timesheet_purchase/i18n/it.po b/addons/sale_timesheet_purchase/i18n/it.po deleted file mode 100644 index 412230d7f97..00000000000 --- a/addons/sale_timesheet_purchase/i18n/it.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Sergio Zanchetta , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Sergio Zanchetta , 2019\n" -"Language-Team: Italian (https://www.transifex.com/odoo/teams/41243/it/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: it\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Progetto" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Ordini di acquisto" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Fatture fornitore" diff --git a/addons/sale_timesheet_purchase/i18n/lb.po b/addons/sale_timesheet_purchase/i18n/lb.po deleted file mode 100644 index c664b22b885..00000000000 --- a/addons/sale_timesheet_purchase/i18n/lb.po +++ /dev/null @@ -1,33 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Language-Team: Luxembourgish (https://www.transifex.com/odoo/teams/41243/lb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: lb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "" diff --git a/addons/sale_timesheet_purchase/i18n/lt.po b/addons/sale_timesheet_purchase/i18n/lt.po deleted file mode 100644 index f043943267a..00000000000 --- a/addons/sale_timesheet_purchase/i18n/lt.po +++ /dev/null @@ -1,38 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Linas Versada , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Linas Versada , 2019\n" -"Language-Team: Lithuanian (https://www.transifex.com/odoo/teams/41243/lt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: lt\n" -"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projektas" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Pirkimų užsakymai" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Tiekėjų sąskaitos" diff --git a/addons/sale_timesheet_purchase/i18n/mn.po b/addons/sale_timesheet_purchase/i18n/mn.po deleted file mode 100644 index 4153758d6e3..00000000000 --- a/addons/sale_timesheet_purchase/i18n/mn.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Baskhuu Lodoikhuu , 2019 -# Martin Trigaux, 2019 -# Khishigbat Ganbold , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Khishigbat Ganbold , 2019\n" -"Language-Team: Mongolian (https://www.transifex.com/odoo/teams/41243/mn/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: mn\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Төсөл" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Худалдан авалт" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Нийлүүлэгчийн нэхэмжлэл" diff --git a/addons/sale_timesheet_purchase/i18n/nb.po b/addons/sale_timesheet_purchase/i18n/nb.po deleted file mode 100644 index 978e0e19d71..00000000000 --- a/addons/sale_timesheet_purchase/i18n/nb.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: Norwegian Bokmål (https://www.transifex.com/odoo/teams/41243/nb/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nb\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Prosjekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Innkjøpsordrer" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Leverandør faktura" diff --git a/addons/sale_timesheet_purchase/i18n/nl.po b/addons/sale_timesheet_purchase/i18n/nl.po deleted file mode 100644 index c2e76e9d65e..00000000000 --- a/addons/sale_timesheet_purchase/i18n/nl.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: Dutch (https://www.transifex.com/odoo/teams/41243/nl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: nl\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Project" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Inkooporders" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Leveranciersfacturen" diff --git a/addons/sale_timesheet_purchase/i18n/pl.po b/addons/sale_timesheet_purchase/i18n/pl.po deleted file mode 100644 index be3aaa7c4e2..00000000000 --- a/addons/sale_timesheet_purchase/i18n/pl.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Dariusz Żbikowski , 2019 -# Piotr Szlązak , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Piotr Szlązak , 2019\n" -"Language-Team: Polish (https://www.transifex.com/odoo/teams/41243/pl/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pl\n" -"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projekt" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Zamówienia Zakupu" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Faktury zakupu" diff --git a/addons/sale_timesheet_purchase/i18n/pt.po b/addons/sale_timesheet_purchase/i18n/pt.po deleted file mode 100644 index 6ccbbfbdb61..00000000000 --- a/addons/sale_timesheet_purchase/i18n/pt.po +++ /dev/null @@ -1,33 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Language-Team: Portuguese (https://www.transifex.com/odoo/teams/41243/pt/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "" diff --git a/addons/sale_timesheet_purchase/i18n/pt_BR.po b/addons/sale_timesheet_purchase/i18n/pt_BR.po deleted file mode 100644 index 8c86d88a96e..00000000000 --- a/addons/sale_timesheet_purchase/i18n/pt_BR.po +++ /dev/null @@ -1,39 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# danimaribeiro , 2019 -# Martin Trigaux, 2019 -# Mateus Lopes , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Mateus Lopes , 2019\n" -"Language-Team: Portuguese (Brazil) (https://www.transifex.com/odoo/teams/41243/pt_BR/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: pt_BR\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Projeto" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Pedidos de Compra" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Faturas de Fornecedor" diff --git a/addons/sale_timesheet_purchase/i18n/ro.po b/addons/sale_timesheet_purchase/i18n/ro.po deleted file mode 100644 index 37022a040f7..00000000000 --- a/addons/sale_timesheet_purchase/i18n/ro.po +++ /dev/null @@ -1,33 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Language-Team: Romanian (https://www.transifex.com/odoo/teams/41243/ro/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ro\n" -"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "" diff --git a/addons/sale_timesheet_purchase/i18n/ru.po b/addons/sale_timesheet_purchase/i18n/ru.po deleted file mode 100644 index 17d5e0e869f..00000000000 --- a/addons/sale_timesheet_purchase/i18n/ru.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: Russian (https://www.transifex.com/odoo/teams/41243/ru/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: ru\n" -"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Проект" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Заказы закупки" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Счета от поставщиков" diff --git a/addons/sale_timesheet_purchase/i18n/sale_timesheet_purchase.pot b/addons/sale_timesheet_purchase/i18n/sale_timesheet_purchase.pot deleted file mode 100644 index 1eaeb8ec124..00000000000 --- a/addons/sale_timesheet_purchase/i18n/sale_timesheet_purchase.pot +++ /dev/null @@ -1,33 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~14.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-07-12 07:50+0000\n" -"PO-Revision-Date: 2021-07-12 07:50+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" -"Plural-Forms: \n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:0 -#, python-format -msgid "Purchase Orders" -msgstr "" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:0 -#, python-format -msgid "Vendor Bills" -msgstr "" diff --git a/addons/sale_timesheet_purchase/i18n/tr.po b/addons/sale_timesheet_purchase/i18n/tr.po deleted file mode 100644 index 7494bc6d426..00000000000 --- a/addons/sale_timesheet_purchase/i18n/tr.po +++ /dev/null @@ -1,38 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Murat Kaplan , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Murat Kaplan , 2019\n" -"Language-Team: Turkish (https://www.transifex.com/odoo/teams/41243/tr/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: tr\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Proje" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Satınalma Siparişleri" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Tedarikçi Faturaları" diff --git a/addons/sale_timesheet_purchase/i18n/uk.po b/addons/sale_timesheet_purchase/i18n/uk.po deleted file mode 100644 index 512c3604828..00000000000 --- a/addons/sale_timesheet_purchase/i18n/uk.po +++ /dev/null @@ -1,38 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# Alina Lisnenko , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Alina Lisnenko , 2019\n" -"Language-Team: Ukrainian (https://www.transifex.com/odoo/teams/41243/uk/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: uk\n" -"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Проект" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Замовлення на купівлю" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Рахунки постачальників" diff --git a/addons/sale_timesheet_purchase/i18n/vi.po b/addons/sale_timesheet_purchase/i18n/vi.po deleted file mode 100644 index 2b35890d92c..00000000000 --- a/addons/sale_timesheet_purchase/i18n/vi.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Nancy Momoland , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Nancy Momoland , 2019\n" -"Language-Team: Vietnamese (https://www.transifex.com/odoo/teams/41243/vi/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: vi\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "Dự án" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "Đơn mua hàng" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "Công nợ nhà cung cấp" diff --git a/addons/sale_timesheet_purchase/i18n/zh_CN.po b/addons/sale_timesheet_purchase/i18n/zh_CN.po deleted file mode 100644 index 0f0da048167..00000000000 --- a/addons/sale_timesheet_purchase/i18n/zh_CN.po +++ /dev/null @@ -1,37 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: Martin Trigaux, 2019\n" -"Language-Team: Chinese (China) (https://www.transifex.com/odoo/teams/41243/zh_CN/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: zh_CN\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "项目" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "采购订单" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "供应商帐单" diff --git a/addons/sale_timesheet_purchase/i18n/zh_TW.po b/addons/sale_timesheet_purchase/i18n/zh_TW.po deleted file mode 100644 index f3004ff4592..00000000000 --- a/addons/sale_timesheet_purchase/i18n/zh_TW.po +++ /dev/null @@ -1,38 +0,0 @@ -# Translation of Odoo Server. -# This file contains the translation of the following modules: -# * sale_timesheet_purchase -# -# Translators: -# Martin Trigaux, 2019 -# 敬雲 林 , 2019 -# -msgid "" -msgstr "" -"Project-Id-Version: Odoo Server saas~12.4\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-08-12 11:32+0000\n" -"PO-Revision-Date: 2019-08-26 09:14+0000\n" -"Last-Translator: 敬雲 林 , 2019\n" -"Language-Team: Chinese (Taiwan) (https://www.transifex.com/odoo/teams/41243/zh_TW/)\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: \n" -"Language: zh_TW\n" -"Plural-Forms: nplurals=1; plural=0;\n" - -#. module: sale_timesheet_purchase -#: model:ir.model,name:sale_timesheet_purchase.model_project_project -msgid "Project" -msgstr "專案" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:17 -#, python-format -msgid "Purchase Orders" -msgstr "採購訂單" - -#. module: sale_timesheet_purchase -#: code:addons/sale_timesheet_purchase/models/project_overview.py:29 -#, python-format -msgid "Vendor Bills" -msgstr "供應商應付憑單" diff --git a/addons/sale_timesheet_purchase/models/__init__.py b/addons/sale_timesheet_purchase/models/__init__.py deleted file mode 100644 index 2e9481d9165..00000000000 --- a/addons/sale_timesheet_purchase/models/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# -*- coding: utf-8 -*- -# Part of Odoo. See LICENSE file for full copyright and licensing details. - -from . import project_overview diff --git a/addons/sale_timesheet_purchase/models/project_overview.py b/addons/sale_timesheet_purchase/models/project_overview.py deleted file mode 100644 index 86484038b37..00000000000 --- a/addons/sale_timesheet_purchase/models/project_overview.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -from odoo import _, models -from odoo.addons.sale_timesheet.models.project_overview import _to_action_data - - -class Project(models.Model): - _inherit = 'project.project' - - def _plan_get_stat_button(self): - stat_buttons = super(Project, self)._plan_get_stat_button() - if self.env.user.has_group('purchase.group_purchase_user'): - accounts = self.mapped('analytic_account_id.id') - purchase_order_lines = self.env['purchase.order.line'].search([('account_analytic_id', 'in', accounts)]) - purchase_orders = purchase_order_lines.mapped('order_id') - if purchase_orders: - stat_buttons.append({ - 'name': _('Purchase Orders'), - 'count': len(purchase_orders), - 'icon': 'fa fa-shopping-cart', - 'action': _to_action_data('purchase.order', - domain=[('id', 'in', purchase_orders.ids)], - context={'create': False, 'edit': False, 'delete': False} - ) - }) - account_invoice_lines = self.env['account.move.line'].search( - [('analytic_account_id', 'in', accounts), - ('move_id.move_type', 'in', ['in_invoice', 'in_refund'])]) - account_invoices = account_invoice_lines.mapped('move_id') - if account_invoices: - stat_buttons.append({ - 'name': _('Vendor Bills'), - 'count': len(account_invoices), - 'icon': 'fa fa-pencil-square-o', - 'action': _to_action_data( - action=self.env.ref('account.action_move_in_invoice_type'), - domain=[('id', 'in', account_invoices.ids)], - context={'create': False, 'edit': False, 'delete': False} - )}) - - return stat_buttons