diff --git a/fieldservice_purchase/README.rst b/fieldservice_purchase/README.rst index c19c92d196..7ff0826918 100644 --- a/fieldservice_purchase/README.rst +++ b/fieldservice_purchase/README.rst @@ -14,16 +14,16 @@ Field Service - Purchase :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffield--service-lightgray.png?logo=github - :target: https://github.com/OCA/field-service/tree/12.0/fieldservice_purchase + :target: https://github.com/OCA/field-service/tree/13.0/fieldservice_purchase :alt: OCA/field-service .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_purchase + :target: https://translation.odoo-community.org/projects/field-service-13-0/field-service-13-0-fieldservice_purchase :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/264/12.0 + :target: https://runbot.odoo-community.org/runbot/264/13.0 :alt: Try me on Runbot -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| This module allows you to link the Field Service App to the Purchases App. @@ -37,7 +37,7 @@ Usage To use this module, you need to: -* Go to Purchases > Purchase > Vendor Pricelist +* Go to Purchases > Configuration > Vendor Pricelist * Select or create a Vendor Pricelist and set the Vendor to an FSM Worker * Go to Field Service > Master Data > Workers * Open the Worker that was selected on your Vendor Pricelist @@ -55,7 +55,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -99,8 +99,8 @@ promote its widespread use. Current `maintainer `__: -|maintainer-osi-scampbell| +|maintainer-osi-scampbell| -This module is part of the `OCA/field-service `_ project on GitHub. +This module is part of the `OCA/field-service `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/fieldservice_purchase/__manifest__.py b/fieldservice_purchase/__manifest__.py index 9eae953dd2..61e2a70571 100644 --- a/fieldservice_purchase/__manifest__.py +++ b/fieldservice_purchase/__manifest__.py @@ -8,7 +8,7 @@ "website": "https://github.com/OCA/field-service", "category": "Field Service", "license": "AGPL-3", - "version": "12.0.1.1.0", + "version": "13.0.1.0.0", "depends": ["fieldservice", "purchase"], "data": ["security/ir.model.access.csv", "views/fsm_person.xml"], "development_status": "Beta", diff --git a/fieldservice_purchase/i18n/de.po b/fieldservice_purchase/i18n/de.po index bd6e1f8409..896b3f445f 100644 --- a/fieldservice_purchase/i18n/de.po +++ b/fieldservice_purchase/i18n/de.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2019-11-26 14:27+0000\n" "Last-Translator: Maria Sparenberg \n" diff --git a/fieldservice_purchase/i18n/es_CL.po b/fieldservice_purchase/i18n/es_CL.po index 23aae602b3..d924bb1bcc 100644 --- a/fieldservice_purchase/i18n/es_CL.po +++ b/fieldservice_purchase/i18n/es_CL.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2020-01-16 22:38+0000\n" "Last-Translator: Nelson Ramírez Sánchez \n" diff --git a/fieldservice_purchase/i18n/fieldservice_purchase.pot b/fieldservice_purchase/i18n/fieldservice_purchase.pot index 523774d1e1..d9fd282254 100644 --- a/fieldservice_purchase/i18n/fieldservice_purchase.pot +++ b/fieldservice_purchase/i18n/fieldservice_purchase.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/fieldservice_purchase/i18n/pt_BR.po b/fieldservice_purchase/i18n/pt_BR.po index 4a2b75f733..ae57429e5a 100644 --- a/fieldservice_purchase/i18n/pt_BR.po +++ b/fieldservice_purchase/i18n/pt_BR.po @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 12.0\n" +"Project-Id-Version: Odoo Server 13.0\n" "Report-Msgid-Bugs-To: \n" "PO-Revision-Date: 2020-02-05 11:13+0000\n" "Last-Translator: Marcel Savegnago \n" diff --git a/fieldservice_purchase/models/fsm_person.py b/fieldservice_purchase/models/fsm_person.py index cd1b4f26b3..edfb16c256 100644 --- a/fieldservice_purchase/models/fsm_person.py +++ b/fieldservice_purchase/models/fsm_person.py @@ -1,7 +1,7 @@ # Copyright (C) 2019 - TODAY, Open Source Integrators # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo import api, fields, models +from odoo import fields, models class FSMPerson(models.Model): @@ -11,14 +11,12 @@ class FSMPerson(models.Model): compute="_compute_pricelist_count", string="# Pricelists" ) - @api.multi def _compute_pricelist_count(self): for worker in self: worker.pricelist_count = self.env["product.supplierinfo"].search_count( [("name", "=", worker.partner_id.id)] ) - @api.multi def action_view_pricelists(self): for worker in self: pricelist = self.env["product.supplierinfo"].search( diff --git a/fieldservice_purchase/readme/USAGE.rst b/fieldservice_purchase/readme/USAGE.rst index 7a0e8fcb94..d100cdf868 100644 --- a/fieldservice_purchase/readme/USAGE.rst +++ b/fieldservice_purchase/readme/USAGE.rst @@ -1,6 +1,6 @@ To use this module, you need to: -* Go to Purchases > Purchase > Vendor Pricelist +* Go to Purchases > Configuration > Vendor Pricelist * Select or create a Vendor Pricelist and set the Vendor to an FSM Worker * Go to Field Service > Master Data > Workers * Open the Worker that was selected on your Vendor Pricelist diff --git a/fieldservice_purchase/static/description/index.html b/fieldservice_purchase/static/description/index.html index 5f8f6fb3f9..01b8aaf9c6 100644 --- a/fieldservice_purchase/static/description/index.html +++ b/fieldservice_purchase/static/description/index.html @@ -367,7 +367,7 @@

Field Service - Purchase

!! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/field-service Translate me on Weblate Try me on Runbot

+

Beta License: AGPL-3 OCA/field-service Translate me on Weblate Try me on Runbot

This module allows you to link the Field Service App to the Purchases App.

Table of contents

@@ -405,7 +405,7 @@

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -439,7 +439,7 @@

Maintainers

promote its widespread use.

Current maintainer:

osi-scampbell

-

This module is part of the OCA/field-service project on GitHub.

+

This module is part of the OCA/field-service project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/fieldservice_purchase/views/fsm_person.xml b/fieldservice_purchase/views/fsm_person.xml index d82773da41..263bfff04f 100644 --- a/fieldservice_purchase/views/fsm_person.xml +++ b/fieldservice_purchase/views/fsm_person.xml @@ -21,9 +21,6 @@ /> - - -