-
Notifications
You must be signed in to change notification settings - Fork 249
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
[13.0] [MIG] fieldservice_sale #595
Merged
Merged
Changes from all commits
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
d0583a0
[ADD] fieldservice_sale
osi-scampbell f184a86
[REN] fsm_location.py
max3903 faee60f
[FIX] View + icon
max3903 de04c8a
[MIG][WIP][12.0] fieldservice_sale
murtuzasaleh 6270a6b
[IMP] FSM Sale Update
osi-scampbell 9efa9b4
[ADD] fieldservice_sale
osi-scampbell 9025d9b
[FIX] View + icon
max3903 59af061
[IMP] fieldservice_sale
brian10048 8519164
[IMP] fieldservice_sale
brian10048 f28e08e
[FIX] fieldservice_sale errors
brian10048 457c597
Finish migration to v12 (forward port from v11)
hparfr e42ebe0
[FIX] fieldservice_sale
max3903 8a8aabf
[IMP] fieldservice_sale: Remove the recurring part
max3903 18b19d5
[IMP] fieldservice_sale: Compute qty_delivered
brian10048 3b6393a
[IMP] fieldservice_sale: Compute qty_delivered
brian10048 fb092b5
Added translation using Weblate (German)
marylla 4208152
Autofill the FS location in Sale Orders
clementmbr 33aca75
Translated using Weblate (German)
marylla eb1d4be
Translated using Weblate (German)
marylla c1fef53
Refactor autofill SO's FS location and add tests
clementmbr e55d363
[IMP] fieldservice_sale: Add service policy
brian10048 abbc562
[IMP] fieldservice_sale: Link invoices to FS order
brian10048 669c813
[IMP] fieldservice_sale: Merge and reuse fields
max3903 df7f5e3
[IMP] fieldservice_sale
brian10048 a160f10
[FIX] fieldservice_sale
brian10048 83ee0d2
[UPD] fieldservice_sale: readme
brian10048 3f72cf6
[FIX] fieldservice_sale: Missing the template info
max3903 0d516a8
[FIX] fieldservice_sale: Missing location directions
max3903 606bc0a
[ADD] fieldservice_sale: Migration script to 12.0.2.0.0
max3903 2c95bd4
Added translation using Weblate (Spanish (Chile))
140515b
Translated using Weblate (Spanish (Chile))
c3fb0c1
[FIX] fieldservice_sale_recurring
brian10048 703e71d
[IMP] fieldservice_sale
max3903 0223968
[FIX] fieldservice_sale
max3903 4dee569
[FIX] fieldservice_sale: PEP8 errors
max3903 2b5cb8a
[FIX] fieldservice_sale
max3903 adcef87
[IMP] fieldservice_sale: Add Validation
brian10048 1f70746
[FIX] fieldservice_sale: bug fixes
brian10048 e14b3d3
[FIX] Improved code.
murtuzasaleh dc5adda
[FIX] fieldservice_sale
brian10048 c88777d
[FIX] fieldservice_sale
max3903 a7bd3b9
[IMP] fieldservice_sale
max3903 2d436ec
Update fieldservice_sale/models/fsm_order.py
f96454d
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago ab77b7a
[ADD] Spanish (es) translation
max3903 47dbdcb
[FIX] fieldservice_sale
brian10048 dfbc24b
[FIX] fieldservice_sale
brian10048 519685a
[IMP] fieldservice_sale: Add test case
brian10048 403ec30
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago 3581789
[FIX] fieldservice_sale
brian10048 04876d2
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago 48d1b6e
Translated using Weblate (Spanish)
a77d59e
Translated using Weblate (Spanish (Chile))
8386ef4
[FIX] fieldservice_sale: Access rights
max3903 4c98a5f
[FIX] fieldservice_sale
max3903 000352b
[IMP] fieldservice_sale: Pricelist on branch
max3903 7679d21
[FIX] fieldservice_sale: Singleton error
max3903 4de5725
Translated using Weblate (Spanish (Chile))
4409ba7
Translated using Weblate (Portuguese (Brazil))
fcolus c7d7707
Translated using Weblate (Portuguese (Brazil))
fcolus 9538273
Translated using Weblate (Spanish)
brian10048 8f23fa9
[IMP] fieldservice_sale: black, isort, prettier
brian10048 b8b95bb
[MIG] fieldservice_sale: Migration to 13.0
brian10048 a82aff5
[FIX] fieldservice_sale migration changes
RLeeOSI 5d9084e
[FIX] invoice creation from SO
RLeeOSI 547bbd1
[IMP] pre-commit, black
brian10048 1f3b760
fieldservice_sale Fix invoicing in v13
hparfr f182ad1
fieldservice_sale: fix fsm_order only on services
hparfr 3d1c19d
fielservice_sale fix link with invoices
hparfr 6c868a8
[FIX] ERROR: null value in column location_id violates not-null const…
358124e
[IMP] pre-commit, prettier
brian10048 8b329cb
[13.0][ADD] Migrations Script:fieldservice_sale.
Chanakya-OSI File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
1,246 changes: 781 additions & 465 deletions
1,246
fieldservice_recurring/static/description/index.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
===================== | ||
Field Service - Sales | ||
===================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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/12.0/fieldservice_sale | ||
: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_sale | ||
: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 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
The module integrates the Field Service application with the Sales one and | ||
allows you to sell products that generate field service orders. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Installation | ||
============ | ||
|
||
To install Field Service and have the mapping features, you need to install GeoEngine. | ||
|
||
Please refer to the installation instructions available at: | ||
https://github.com/OCA/geospatial/tree/12.0/base_geoengine | ||
|
||
Configuration | ||
============= | ||
|
||
Products must be configured properly in order to create field service | ||
orders upon sale order confirmation. | ||
|
||
The field service tracking of a product defines how it generates a field service | ||
order if the product is sold via sale order. | ||
|
||
To configure a product that generates a unique field service order on each | ||
sale order line: | ||
|
||
* Go to Sales > Catalog > Products | ||
* Create or select a product | ||
* Set the Field Service Tracking to 'One FSM Order per Sale Order Line' | ||
* Select the FSM Order Template that will be used for creating FSM Orders when | ||
a Sale Order is confirmed with this product | ||
|
||
To configure a product that generates a unique field service order for | ||
an individual sale order: | ||
|
||
* Go to Sales > Catalog > Products | ||
* Create or select a product | ||
* Set the Field Service Tracking to 'One FSM Order per Sale Order' | ||
* Select the FSM Order Template that will be used for creating FSM Orders when | ||
a Sale Order is confirmed with this product | ||
|
||
To setup a sales territory: | ||
|
||
* Go to Field Service > Master Data > Locations | ||
* Create or select a location | ||
* Go to the Sales tab and select the sales territory | ||
|
||
Usage | ||
===== | ||
|
||
* Go to Sales | ||
* Create a new Quotation/Sale Order | ||
* Set the FSM Location to be used | ||
* On a Sale Order Line, select a product configured for field service orders | ||
* Confirm the Sale Order | ||
* Field Service orders linked to SO lines are created | ||
* When a Field Service order is completed, the quantity delivered for its | ||
linked sale order line will be updated to the quantity ordered, indicating | ||
this line is ready for invoicing. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* Provide a mapping between an address and the branch and use it to set the | ||
pricelist of a new partner | ||
|
||
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_sale%0Aversion:%2012.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 | ||
~~~~~~~~~~~~ | ||
|
||
* Open Source Integrators <https://opensourceintegrators.com> | ||
|
||
* Steve Campbell <[email protected]> | ||
* Maxime Chambreuil <[email protected]> | ||
* Wolfgang Hall <[email protected]> | ||
|
||
* Serpent Consulting Services Pvt. Ltd. <[email protected]> | ||
* Brian McMaster <[email protected]> | ||
* Rapha??l Reverdy <[email protected]> | ||
* Cl??ment Mombereau <[email protected]> | ||
|
||
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-wolfhall| image:: https://github.com/wolfhall.png?size=40px | ||
:target: https://github.com/wolfhall | ||
:alt: wolfhall | ||
.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px | ||
:target: https://github.com/max3903 | ||
:alt: max3903 | ||
.. |maintainer-brian10048| image:: https://github.com/brian10048.png?size=40px | ||
:target: https://github.com/brian10048 | ||
:alt: brian10048 | ||
|
||
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-wolfhall| |maintainer-max3903| |maintainer-brian10048| | ||
|
||
This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/12.0/fieldservice_sale>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright (C) 2018 Open Source Integrators | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright (C) 2018 Open Source Integrators | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Field Service - Sales", | ||
"version": "13.0.1.0.0", | ||
"summary": "Sell field services.", | ||
"category": "Field Service", | ||
"author": "Open Source Integrators, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/field-service", | ||
"depends": ["fieldservice", "sale_management", "fieldservice_account"], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"views/fsm_location.xml", | ||
"views/fsm_order.xml", | ||
"views/product_template.xml", | ||
"views/res_branch.xml", | ||
"views/sale_order.xml", | ||
"views/res_config_settings.xml", | ||
], | ||
"license": "AGPL-3", | ||
"development_status": "Beta", | ||
"maintainers": ["wolfhall", "max3903", "brian10048"], | ||
"installable": True, | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is an encoding issue
there is also issues in po files.