diff --git a/partner_manual_rank/__manifest__.py b/partner_manual_rank/__manifest__.py index a8c279effe3..ce2fdfd2d65 100644 --- a/partner_manual_rank/__manifest__.py +++ b/partner_manual_rank/__manifest__.py @@ -13,5 +13,8 @@ "installable": True, "maintainers": ["luisg123v", "frahikLV"], "depends": ["account"], - "data": ["views/res_partner.xml"], + "data": [ + "views/account_move.xml", + "views/res_partner.xml", + ], } diff --git a/partner_manual_rank/i18n/fr.po b/partner_manual_rank/i18n/fr.po index c02524406de..556e45eb8e8 100644 --- a/partner_manual_rank/i18n/fr.po +++ b/partner_manual_rank/i18n/fr.po @@ -6,20 +6,25 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 16.0\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2023-05-02 11:33+0000\n" -"Last-Translator: Hughes Damry \n" -"Language-Team: none\n" -"Language: fr\n" +"POT-Creation-Date: 2024-11-29 07:37+0000\n" +"PO-Revision-Date: 2024-11-29 07:37+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: nplurals=2; plural=n > 1;\n" -"X-Generator: Weblate 4.14.1\n" +"Plural-Forms: \n" + +#. module: partner_manual_rank +#: model:ir.model.fields,field_description:partner_manual_rank.field_account_move__assigned_attachment_ids +#: model:ir.model.fields,field_description:partner_manual_rank.field_res_partner__assigned_attachment_ids +msgid "Assigned Attachments" +msgstr "" #. module: partner_manual_rank #: model:ir.model,name:partner_manual_rank.model_res_partner msgid "Contact" -msgstr "Contact" +msgstr "" #. module: partner_manual_rank #: model_terms:ir.ui.view,arch_db:partner_manual_rank.view_res_partner_filter @@ -27,20 +32,41 @@ msgid "Customers" msgstr "Clients" #. module: partner_manual_rank +#: model_terms:ir.ui.view,arch_db:partner_manual_rank.view_account_invoice_filter +msgid "Is Supplier" +msgstr "Fournisseur" + +#. module: partner_manual_rank +#: model:ir.model.fields,field_description:partner_manual_rank.field_res_brand__is_customer #: model:ir.model.fields,field_description:partner_manual_rank.field_res_partner__is_customer #: model:ir.model.fields,field_description:partner_manual_rank.field_res_users__is_customer msgid "Is a Customer" msgstr "Client" #. module: partner_manual_rank +#: model:ir.model.fields,field_description:partner_manual_rank.field_account_bank_statement_line__is_supplier +#: model:ir.model.fields,field_description:partner_manual_rank.field_account_move__is_supplier +#: model:ir.model.fields,field_description:partner_manual_rank.field_account_payment__is_supplier +#: model:ir.model.fields,field_description:partner_manual_rank.field_res_brand__is_supplier #: model:ir.model.fields,field_description:partner_manual_rank.field_res_partner__is_supplier #: model:ir.model.fields,field_description:partner_manual_rank.field_res_users__is_supplier msgid "Is a Supplier" msgstr "Fournisseur" +#. module: partner_manual_rank +#: model_terms:ir.ui.view,arch_db:partner_manual_rank.view_account_invoice_filter +msgid "Is supplier" +msgstr "" + +#. module: partner_manual_rank +#: model:ir.model,name:partner_manual_rank.model_account_move +msgid "Journal Entry" +msgstr "Écriture comptable" + #. module: partner_manual_rank #. odoo-python #: code:addons/partner_manual_rank/models/res_partner.py:0 +#: code:addons/partner_manual_rank/models/res_partner.py:0 #, python-format msgid "Operation not supported" msgstr "Opération non supportée" @@ -48,4 +74,4 @@ msgstr "Opération non supportée" #. module: partner_manual_rank #: model_terms:ir.ui.view,arch_db:partner_manual_rank.view_res_partner_filter msgid "Suppliers" -msgstr "Fournisseurs" +msgstr "Fournisseurs" \ No newline at end of file diff --git a/partner_manual_rank/models/__init__.py b/partner_manual_rank/models/__init__.py index 284a83ff1c2..d8609b235f0 100644 --- a/partner_manual_rank/models/__init__.py +++ b/partner_manual_rank/models/__init__.py @@ -1,3 +1,4 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +from . import account_move from . import res_partner diff --git a/partner_manual_rank/models/account_move.py b/partner_manual_rank/models/account_move.py new file mode 100644 index 00000000000..f33e981027d --- /dev/null +++ b/partner_manual_rank/models/account_move.py @@ -0,0 +1,11 @@ +# Copyright 2024 Akretion France (http://www.akretion.com/) +# @author: Mathieu Delva +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class AccountMove(models.Model): + _inherit = "account.move" + + is_supplier = fields.Boolean(related="partner_id.is_supplier", store=True) diff --git a/partner_manual_rank/static/description/index.html b/partner_manual_rank/static/description/index.html index 11eb1c51ba5..f8060ce6eb2 100644 --- a/partner_manual_rank/static/description/index.html +++ b/partner_manual_rank/static/description/index.html @@ -1,4 +1,3 @@ - @@ -9,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -275,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -301,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -421,7 +421,9 @@

Other credits

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

diff --git a/partner_manual_rank/views/account_move.xml b/partner_manual_rank/views/account_move.xml new file mode 100644 index 00000000000..c084de06686 --- /dev/null +++ b/partner_manual_rank/views/account_move.xml @@ -0,0 +1,25 @@ + + + account.move.search + account.move + + + + + + + + + + + + +