-
Notifications
You must be signed in to change notification settings - Fork 243
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_stock #671
Closed
Closed
Changes from 133 commits
Commits
Show all changes
138 commits
Select commit
Hold shift + click to select a range
c24a9d9
[ADD] fieldservice_stock 0.0.1
brian10048 112891a
[FIX] fieldservice_stock
brian10048 cbdcd29
[FIX] fieldservice_stock
brian10048 28452e9
[UPD] README.rst
OCA-git-bot a678316
[ADD] field service stock 0.0.2 (#49)
brian10048 ce8ec36
[UPD] README.rst
OCA-git-bot 2a9f239
[IMP] Various improvements
max3903 71036fe
[UPD] README.rst
OCA-git-bot 05b358b
[ADD] fieldservice_vehicle_stock
max3903 9f4aa2f
[ADD] Security
max3903 dd3391c
[UPD] README.rst
OCA-git-bot e3ee337
[IMP] fieldservice_stock
max3903 fec3525
[IMP] fieldservice_stock
9e80fb9
[UPD] README.rst
OCA-git-bot 1aea06d
[IMP] fieldservice_stock
osimallen cf9799d
[UPD] README.rst
OCA-git-bot d948c8c
[IMP] action_inventory_*
max3903 c76f711
[IMP] Various
osi-scampbell 125d340
[IMP] fieldservice_stock
osi-scampbell 8e9be50
[FIX] fieldservice_stock
max3903 477984d
[FIX] fieldservice_stock
max3903 d2c8e5e
[FIX] fieldservice_stock
max3903 170cd3e
[FIX] fieldservice_stock
max3903 b990f2c
[IMP] UI stuff
max3903 53bd191
[FIX] UnboundLocalError: local variable 'res' referenced before assig…
max3903 e920b13
[FIX] Default value of requested quantity
max3903 37a954c
[FIX] Conflict with parent_id field of res.partner
max3903 72fa1e9
[IMP] Fieldservice Stock Bug Fix
osi-scampbell c177b2c
[IMP] fieldservice_stock
osi-scampbell c81985b
[MIG][WIP][12.0] fieldservice_stock
murtuzasaleh 33b2fb8
[UPD] README.rst
OCA-git-bot 714dbda
[12.0][IMP] fieldservice_stock:Improved code.
murtuzasaleh 8891a49
[IMP] #122 Convert Locations from Contact
osi-scampbell d39b37e
[IMP] Max Comments
osi-scampbell 70b1451
[IMP] Flake8 Errors
osi-scampbell ccd119b
[ADD] Stock Request Confirm on Order
osi-scampbell daeb04b
[IMP] Remove Unnecessary Fields
osi-scampbell 5c76e08
[FIX] Flake8 Error
osi-scampbell 1b25abe
[IMP] Stock View Cleanup
osi-scampbell 5031955
Update stock.py
max3903 4d1e3e6
Update fsm_order.xml
max3903 b19bff1
Update __manifest__.py
max3903 34b1b1c
[IMP] fieldservice
osi-scampbell 6ffbe66
[IMP] Github Comments
osi-scampbell 29cd579
[IMP] fieldservice_account: #135 Contractor Cost Check
max3903 896adc3
[FIX] fieldservice_stock
max3903 96243e6
[IMP] fieldservice_stock: Add direction to views
max3903 8b2cb8b
[FIX] fieldservice_stock
max3903 fe9f168
[FIX] fieldservice_stock: reset the stage
max3903 5476769
Update stock.py
max3903 285b16b
[IMP] Add FSM Order to Request, Submit Draft
osi-scampbell 438903b
[IMP] fieldservice_stock: Remove description
max3903 179fdf0
[UPD] README.rst
OCA-git-bot a11fe8d
[IMP] fieldservice_stock: Use stock request
osi-scampbell d102716
[FIX] fieldservice_stock: Missing shipping_address_id field
max3903 0f2ed68
[FIX] fieldservice_stock: Element cannot be located in parent view
max3903 6e8935a
[FIX] Group SR's into same SRO
osi-scampbell 00c3b92
[FIX] fieldservice_stock: Expected Date Error (#15)
osi-scampbell b87754c
[FIX] Datetime catch
osi-scampbell b7cd50d
[IMP] Action Confirm
osi-scampbell 40090fd
[IMP] Acount or multiple groups
osi-scampbell 574e751
Update fieldservice_stock/models/stock_request.py
max3903 8654c08
[IMP] fieldservice_stock
max3903 ed0c10f
Fix customer_id
hparfr 87f01ee
[IMP] Warehouse Not Readonly + Submit Stage Fix
osi-scampbell ccc5bf2
[FIX] Datetime Error
osi-scampbell 61c73c7
[FIX] fieldservice_stock
max3903 8c0bda8
[IMP] fieldservice_stock: SRO to SR Tree (#375)
osi-scampbell a67b4dd
[FIX] fieldservice_stock
max3903 8c0f01c
[IMP] Fix Convert Error
osi-scampbell 49a714e
[UPD] Update fieldservice_stock.pot
oca-travis b3a679a
Added translation using Weblate (Spanish (Chile))
a8b7768
Translated using Weblate (Spanish (Chile))
04b651b
Added translation using Weblate (German)
marylla 0dc8480
Translated using Weblate (German)
marylla aa19df3
Translated using Weblate (German)
marylla 24c2975
Translated using Weblate (German)
marylla 83bcdc3
Translated using Weblate (German)
marylla 0b1a8b8
[FIX] fieldservice_stock: Multiple back-orders if multiple moves
max3903 5825135
fieldservice_stock 12.0.1.0.2
OCA-git-bot e7fbb97
[WIP][12.0][IMP] fieldservice_stock
murtuzasaleh 13f14b3
[UPD] Update fieldservice_stock.pot
oca-travis 057b024
fieldservice_stock 12.0.1.1.0
OCA-git-bot 5bfe5c5
Update translation files
oca-transbot 446ff28
[IMP] fieldervice_stock
max3903 8d8b0da
[FIX] fieldservice_stock: PEP8 error
max3903 389b3bc
[UPD] Update fieldservice_stock.pot
oca-travis 721b77d
fieldservice_stock 12.0.1.2.0
OCA-git-bot 2bcf2cf
Update translation files
oca-transbot 6561296
[ADD] Spanish (es) translation
max3903 811ddfb
[IMP] fieldservice_stock: Add warehouse to territory
max3903 92f6b1f
[FIX] Don't error if some moves were deleted by previous logic
dreispt 06bce60
Translated using Weblate (Spanish)
52f7851
[IMP] fieldservice_stock: Views and doc
max3903 f06d624
fieldservice_stock 12.0.1.2.1
OCA-git-bot 26c9f62
[FIX] fieldservice_stock
max3903 ee230cc
[UPD] Update fieldservice_stock.pot
oca-travis fc26652
[UPD] README.rst
OCA-git-bot 99939a0
fieldservice_stock 12.0.1.3.0
OCA-git-bot a7a7aed
Update translation files
oca-transbot f1690a8
[12.0][IMP] fieldservice_stock
murtuzasaleh a3da980
[UPD] Update fieldservice_stock.pot
oca-travis e95c55d
fieldservice_stock 12.0.1.4.0
OCA-git-bot 9c88c02
Update translation files
oca-transbot ccd5f70
Translated using Weblate (Spanish)
e828c5e
[IMP] Add "Create FSM Equipment" option to Operation Types
dreispt ee7c85c
[IMP] Migration script to handle the otherwise breaking changes
dreispt f29ed21
[IMP] fieldservice_stock: Set the FSM location when creating equipment
max3903 88d015e
Translated using Weblate (Spanish (Chile))
e241cc3
[UPD] Update fieldservice_stock.pot
oca-travis 3727907
fieldservice_stock 12.0.1.5.0
OCA-git-bot 7c238c1
Update translation files
oca-transbot f0002c5
[UPD] Update fieldservice_stock.pot
oca-travis 131966e
Update translation files
oca-transbot d04b400
[UPD] Update fieldservice_stock.pot
oca-travis 95c8d5e
[UPD] README.rst
OCA-git-bot 1c38b14
fieldservice_stock 12.0.2.1.0
OCA-git-bot 66b7aee
Update translation files
oca-transbot 841426b
[IMP] FSM Stock Request Workflow Adjustment
osi-scampbell 1758d75
[UPD] Update fieldservice_stock.pot
oca-travis 7370cf2
fieldservice_stock 12.0.2.1.1
OCA-git-bot 434f16d
Update translation files
oca-transbot cfd72d8
Added translation using Weblate (Portuguese (Brazil))
fcolus a0af763
Translated using Weblate (Portuguese (Brazil))
fcolus b413af1
[IMP] Gave Access to portal user.
murtuzasaleh 459ab49
fieldservice_stock 12.0.2.2.0
OCA-git-bot ee52853
[IMP] fieldservice_stock: black, isort, prettier
2ad5282
[MIG] fieldservice_stock: Migration to 13.0
RLeeOSI 3639aef
[IMP] New Line
osi-scampbell 4c6e5f7
[FIX] fieldservice-stock: missing oca dependency
RLeeOSI 342222c
[IMP] update flake8 max line length to match black
RLeeOSI 40e5c1d
[IMP] fieldservice_stock: linting fixes
RLeeOSI acaf23e
[FIX] fieldservice_stock: Run black
max3903 27fcb26
Update .flake8
max3903 154c1fb
Merge branch '13.0-mig-fsm-stock' of github.com:ursais/field-service …
max3903 f3f5ada
[FIX] fieldservice_stock: update inherited view
RLeeOSI b809d30
Merge branch '13.0-mig-fsm-stock' of git+ssh://github.com/ursais/fiel…
max3903 49fa98c
[IMP] oca_dependencies.txt
max3903 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
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,177 @@ | ||
===================== | ||
Field Service - Stock | ||
===================== | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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_stock | ||
: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_stock | ||
: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| | ||
|
||
This module is an add-on for the Field Service application in Odoo. | ||
It provides inventory and stock operations. | ||
|
||
**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/11.0/base_geoengine | ||
|
||
Configuration | ||
============= | ||
|
||
To configure this module, you need to: | ||
|
||
* Go to Field Service > Master Data > Locations | ||
* Create or select a location and set the inventory location | ||
* Go to Inventory > Configuration > Routes | ||
* Select the routes that you want to use from a FSM order | ||
* Check the box 'FSM Order Line' for outbound transfer | ||
* Check the box 'FSM Return Line' for inbound transfer | ||
|
||
The route 'Receipt in 1 step' has no procurement rule so if you want items to be | ||
returned from the service location to your warehouse, you need to create a new | ||
procurement rule for that route: | ||
|
||
* Name: YourCompany: Return | ||
* Action: Move From Another Location | ||
* Procurement Location: WH/Stock | ||
* Served Warehouse: YourCompany | ||
* Source Location: Partner Locations/Customers | ||
* Move Supply Method: Take From Stock | ||
* Operation Type: YourCompany: Receipts | ||
|
||
If you are in a multi-warehouse situation: | ||
|
||
* Go to Field Service > Configuration > Territories | ||
* Create or select a territory | ||
* Set the warehouse that will serve this territory | ||
|
||
Products can be automatically converted into FSM Equipments. | ||
This is only available only for products tracked by serial number. | ||
This needs to be enabled both on Operation Types and Products. | ||
For example, we may want to create the FSM Equipment on Delivery, | ||
or on Receipts. | ||
|
||
To enable on Products: | ||
|
||
* Go to Inventory > Master Data > Products | ||
* Open the Product form, Inventory tab | ||
* On the "Traceability" section, make sure | ||
"Tracking" is set to "By Unique Serial Number" | ||
* Enable the "Creates FSM Equipment" checkbox | ||
|
||
To enable on Operation Types: | ||
|
||
* Go to Inventory > Configuration > Operation Types | ||
* Select the intended Operation Type ("Receipts" for example) | ||
* On the "Traceability" section, enable the | ||
"Create FSM Equipment" checkbox | ||
|
||
Usage | ||
===== | ||
|
||
To use this module, you need to: | ||
|
||
* Create a new service order | ||
* Under the Inventory tab, select the warehouse and add products with quantity | ||
* Confirm the order to create the delivery orders | ||
* Validate the transfers in the Inventory app. Quantities delivered on FSM | ||
Order Line will be updated. | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
The roadmap of the Field Service application is documented on | ||
`Github <https://github.com/OCA/field-service/issues/1>`_. | ||
|
||
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_stock%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 | ||
* Brian McMaster | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Brian McMaster <brian@mcmpest.com> | ||
* Sandip Mangukiya <smangukiya@opensourceintegrators.com> | ||
* Serpent Consulting Services Pvt. Ltd. <support@serpentcs.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-brian10048| image:: https://github.com/brian10048.png?size=40px | ||
:target: https://github.com/brian10048 | ||
:alt: brian10048 | ||
.. |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-smangukiya| image:: https://github.com/smangukiya.png?size=40px | ||
:target: https://github.com/smangukiya | ||
:alt: smangukiya | ||
|
||
Current `maintainers <https://odoo-community.org/page/maintainer-role>`__: | ||
|
||
|maintainer-brian10048| |maintainer-wolfhall| |maintainer-max3903| |maintainer-smangukiya| | ||
|
||
This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/12.0/fieldservice_stock>`_ 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 - TODAY, Brian McMaster | ||
# 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,35 @@ | ||
# Copyright (C) 2018 - TODAY, Brian McMaster | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Field Service - Stock", | ||
"summary": "Integrate the logistics operations with Field Service", | ||
"version": "13.0.1.0.0", | ||
"category": "Field Service", | ||
"author": "Open Source Integrators, " | ||
"Brian McMaster, " | ||
"Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/field-service", | ||
"depends": [ | ||
"fieldservice", | ||
"stock_request_direction", | ||
"stock_request_picking_type", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/fsm_stock_data.xml", | ||
"views/fsm_equipment.xml", | ||
"views/fsm_location.xml", | ||
"views/fsm_order.xml", | ||
"views/product_template.xml", | ||
"views/res_territory.xml", | ||
"views/stock.xml", | ||
"views/stock_picking_type.xml", | ||
"views/stock_production_lot.xml", | ||
"views/stock_request.xml", | ||
"views/stock_request_order.xml", | ||
], | ||
"license": "AGPL-3", | ||
"development_status": "Beta", | ||
"maintainers": ["brian10048", "wolfhall", "max3903", "smangukiya"], | ||
} |
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,9 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<odoo> | ||
<!-- stock.location --> | ||
<record id="stock_location_field" model="stock.location"> | ||
<field name="name">Field</field> | ||
<field name="usage">view</field> | ||
<field name="company_id" /> | ||
</record> | ||
</odoo> |
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.
missing stock_request_submit in order to do https://github.com/OCA/field-service/pull/671/files?file-filters%5B%5D=.py#diff-f7551e26fc5881da48b15fe64ef2878a3d37ea4fae84aeaa5468416742861325R73