Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[15.0][MIG] fieldservice_account_analytic #900

Merged
merged 28 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
ca1a9a7
[IMP] fieldservice_account: Simplify module
brian10048 Nov 26, 2019
9af01bd
Clean up customer_id (billing), cost and change link between account_…
hparfr Nov 27, 2019
ec68558
add missing files
hparfr Nov 27, 2019
98b54ea
[FIX] fieldservice_account: tests and travis
brian10048 Dec 2, 2019
9ecae02
[IMP] fieldservice_account: Update maintainers
brian10048 Dec 5, 2019
78bc0ba
fieldservice_account_analytic 12.0.2.0.2
OCA-git-bot Dec 5, 2019
46be1f5
[IMP] Analytic Account Company Dependant
osi-scampbell Dec 11, 2019
d565431
fieldservice_account_analytic 12.0.2.1.0
OCA-git-bot Dec 12, 2019
1cf3cf4
[12.0][IMP] fieldservice
murtuzasaleh Dec 17, 2019
3344208
fieldservice_account_analytic 12.0.3.0.0
OCA-git-bot Dec 18, 2019
c48b037
[IMP] Set Default Customer
osi-scampbell Jan 16, 2020
0433700
fieldservice_account_analytic 12.0.3.1.0
OCA-git-bot Jan 17, 2020
8acfb4f
[DEL] Remove fsm_location_person.py
osi-scampbell Jan 31, 2020
daf60c6
fieldservice_account_analytic 12.0.3.2.0
OCA-git-bot Feb 1, 2020
39ceee7
[IMP] Filter Location/Contact
osi-scampbell Jan 16, 2020
3b025dd
fieldservice_account_analytic 12.0.3.3.0
OCA-git-bot Feb 19, 2020
c1f1e52
[WIP][13.0][MIG] Fix Travis
murtuzasaleh Oct 6, 2020
3982348
[IMP] Improved code.
murtuzasaleh Oct 6, 2020
e670b51
[14.0][MIG] fieldservice_account_analytic
Freni-OSI Apr 15, 2021
667994b
[UPD] README.rst
OCA-git-bot Jul 7, 2021
e03d89a
[UPD] Update fieldservice_account_analytic.pot
oca-travis Jul 8, 2021
b014ecf
Update translation files
oca-transbot Jul 8, 2021
4dbda9c
Added translation using Weblate (Turkish)
tate11 Jul 9, 2021
44b4735
Translated using Weblate (Spanish (Argentina))
ibuioli Jul 9, 2021
42cb38d
Translated using Weblate (Turkish)
tate11 Jul 9, 2021
081a085
Translated using Weblate (Portuguese (Brazil))
marcos-mendez Dec 8, 2021
d2f97f9
[15.0][FIX] Travis
Freni-OSI Jan 28, 2022
1de1066
[15.0][MIG] fieldservice_account_analytic
Freni-OSI Feb 10, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions fieldservice_account_analytic/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
===================================
Field Service - Analytic Accounting
===================================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
: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/14.0/fieldservice_account_analytic
: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-14-0/field-service-14-0-fieldservice_account_analytic
: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/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module adds the ability to track your analytic accounts on field
service orders.
It also adds the option to track the billing partner for field service
locations and orders.

**Table of contents**

.. contents::
:local:

Installation
============

No special installation instructions

Configuration
=============

To configure this module, you need to:

* Go to Field Service > Master Data > Locations
* Create or select a location and set their analytic account

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/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 <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice_account_analytic%0Aversion:%2014.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
~~~~~~~

* Open Source Integrators

Contributors
~~~~~~~~~~~~

* Michael Allen <mallen@opensourceintegrators.com>
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
* Brian McMaster <brian@mcmpest.com>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Open Source Integrators <https://opensourceintegrators.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

.. |maintainer-osimallen| image:: https://github.com/osimallen.png?size=40px
:target: https://github.com/osimallen
:alt: osimallen
.. |maintainer-brian10048| image:: https://github.com/brian10048.png?size=40px
:target: https://github.com/brian10048
:alt: brian10048
.. |maintainer-bodedra| image:: https://github.com/bodedra.png?size=40px
:target: https://github.com/bodedra
:alt: bodedra

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-osimallen| |maintainer-brian10048| |maintainer-bodedra|

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/14.0/fieldservice_account_analytic>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions fieldservice_account_analytic/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright (C) 2018 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
from . import wizard
from .init_hook import pre_init_hook
36 changes: 36 additions & 0 deletions fieldservice_account_analytic/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Copyright (C) 2018 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service - Analytic Accounting",
"summary": """Track analytic accounts on Field Service locations
and orders""",
"version": "15.0.1.0.0",
"category": "Field Service",
"author": "Open Source Integrators, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": [
"fieldservice_account",
"analytic",
"product",
],
"data": [
"data/ir_rule.xml",
"security/ir.model.access.csv",
"report/fsm_order_report_template.xml",
"views/fsm_location.xml",
"views/fsm_order.xml",
"views/res_config_settings.xml",
],
"demo": [
"demo/fsm_location.xml",
],
"pre_init_hook": "pre_init_hook",
"license": "AGPL-3",
"development_status": "Beta",
"maintainers": [
"osimallen",
"brian10048",
"bodedra",
],
}
24 changes: 24 additions & 0 deletions fieldservice_account_analytic/data/ir_rule.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<odoo>
<record id="analytic_account_fsm_manager" model="ir.rule">
<field name="name">account.analytic.line.fsm.manager</field>
<field name="model_id" ref="model_account_analytic_line" />
<field name="global" eval="False" />
<field name="domain_force">[(1, '=', 1)]</field>
<field name="groups" eval="[(4, ref('fieldservice.group_fsm_manager'))]" />
<field name="perm_read" eval="True" />
<field name="perm_write" eval="True" />
<field name="perm_create" eval="True" />
<field name="perm_unlink" eval="True" />
</record>
<record id="analytic_account_fsm_dispatcher" model="ir.rule">
<field name="name">account.analytic.line.fsm.dispatcher</field>
<field name="model_id" ref="model_account_analytic_line" />
<field name="global" eval="False" />
<field name="domain_force">[(1, '=', 1)]</field>
<field name="groups" eval="[(4, ref('fieldservice.group_fsm_dispatcher'))]" />
<field name="perm_read" eval="True" />
<field name="perm_write" eval="True" />
<field name="perm_create" eval="True" />
<field name="perm_unlink" eval="True" />
</record>
</odoo>
16 changes: 16 additions & 0 deletions fieldservice_account_analytic/demo/fsm_location.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<odoo>
<!-- fsm.location -->
<record id="fieldservice.test_location" model="fsm.location">
<field name="customer_id" eval="ref('fieldservice.test_loc_partner')" />
</record>
<!-- Other locations -->
<record id="fieldservice.location_1" model="fsm.location">
<field name="customer_id" eval="ref('fieldservice.location_partner_1')" />
</record>
<record id="fieldservice.location_2" model="fsm.location">
<field name="customer_id" eval="ref('fieldservice.location_partner_2')" />
</record>
<record id="fieldservice.location_3" model="fsm.location">
<field name="customer_id" eval="ref('fieldservice.location_partner_3')" />
</record>
</odoo>
170 changes: 170 additions & 0 deletions fieldservice_account_analytic/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fieldservice_account_analytic
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2020-01-17 06:13+0000\n"
"Last-Translator: Nelson Ramírez Sánchez <info@konos.cl>\n"
"Language-Team: none\n"
"Language: es\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 3.10\n"

#. module: fieldservice_account_analytic
#: model_terms:ir.ui.view,arch_db:fieldservice_account_analytic.fsm_location_form_view_analytic
#: model_terms:ir.ui.view,arch_db:fieldservice_account_analytic.fsm_order_form_analytic
msgid "Accounting"
msgstr "Contabilidad"

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_location__analytic_account_id
msgid "Analytic Account"
msgstr "Cuenta Analítica"

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_account_analytic_line
msgid "Analytic Line"
msgstr "Linea Analitica"

#. module: fieldservice_account_analytic
#: model:ir.model.fields.selection,name:fieldservice_account_analytic.selection__fsm_order__bill_to__contact
msgid "Bill Contact"
msgstr "Contacto de Facturación"

#. module: fieldservice_account_analytic
#: model:ir.model.fields.selection,name:fieldservice_account_analytic.selection__fsm_order__bill_to__location
msgid "Bill Location"
msgstr "Dirección de Facturación"

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_order__bill_to
msgid "Bill to"
msgstr "Facturar a"

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_location__customer_id
msgid "Billed Customer"
msgstr "Facturado a Cliente"

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_res_company
msgid "Companies"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_order__customer_id
msgid "Contact"
msgstr "Contacto"

#. module: fieldservice_account_analytic
#: model_terms:ir.ui.view,arch_db:fieldservice_account_analytic.fsm_location_search_view_analytic
msgid "Customer"
msgstr "Cliente"

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_analytic_line__display_name
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_move_line__display_name
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_location__display_name
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_wizard__display_name
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_company__display_name
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_config_settings__display_name
msgid "Display Name"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_analytic_line__fsm_order_id
msgid "FSM Order"
msgstr "Pedido FSM"

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_fsm_wizard
msgid "FSM Record Conversion"
msgstr "Conversión de Registro FSM"

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_fsm_location
msgid "Field Service Location"
msgstr "Ubicación del Servicio de Campo"

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_fsm_order
msgid "Field Service Order"
msgstr "Orden de Servicio de Campo"

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_company__fsm_filter_location_by_contact
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_config_settings__fsm_filter_location_by_contact
#: model_terms:ir.ui.view,arch_db:fieldservice_account_analytic.res_config_settings_view_form_filter
msgid "Filter Contacts with Location"
msgstr ""

#. module: fieldservice_account_analytic
#: model_terms:ir.ui.view,arch_db:fieldservice_account_analytic.res_config_settings_view_form_filter
msgid "Filter the Location on an FSM Order by the Contact"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_analytic_line__id
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_move_line__id
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_location__id
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_order__id
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_wizard__id
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_company__id
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_config_settings__id
msgid "ID"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model,name:fieldservice_account_analytic.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_analytic_line____last_update
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_move_line____last_update
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_location____last_update
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_order____last_update
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_wizard____last_update
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_company____last_update
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_res_config_settings____last_update
msgid "Last Modified on"
msgstr ""

#. module: fieldservice_account_analytic
#: code:addons/fieldservice_account_analytic/models/account_move.py:0
#: code:addons/fieldservice_account_analytic/models/analytic_account.py:0
#, python-format
msgid "No analytic account set on the order's Location."
msgstr "No hay una cuenta analítica establecida en la ubicación del pedido."

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_order__display_name
msgid "Order"
msgstr ""

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_account_analytic_line__product_id
msgid "Time Type"
msgstr "Tipo de Tiempo"

#. module: fieldservice_account_analytic
#: model:ir.model.fields,field_description:fieldservice_account_analytic.field_fsm_order__total_cost
msgid "Total Cost"
msgstr "Coste Total"

#~ msgid "Invoice Line"
#~ msgstr "Línea de factura"

#~ msgid "Field Service Location Person Info"
#~ msgstr "Servicio de campo Ubicación Información de la persona"
Loading