Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
a79174d
[ADD] purchase request modules
JordiBForgeFlow Sep 22, 2015
36c1458
[IMP] Add try me on runbot
JordiBForgeFlow Sep 22, 2015
4e7bec0
[FIX] Various fixes
JordiBForgeFlow Sep 25, 2015
f905efd
[FIX] fixed travis errors
JordiBForgeFlow Sep 25, 2015
a8afc75
[IMP] Added message notifications on change of the status of the purc…
JordiBForgeFlow Oct 5, 2015
d2f89a2
[FIX] fixed group by error
JordiBForgeFlow Oct 9, 2015
ece8329
[IMP] extend purchase request line search
JordiBForgeFlow Oct 9, 2015
71e41db
[FIX] fixed search filter
JordiBForgeFlow Oct 9, 2015
9d44ef0
[FIX] adjustments to make the purchase request compatible with v8
JordiBForgeFlow Feb 17, 2016
4f77fe5
[ENH] purchase_request, PR Line only filtered with non-Draft state
Feb 22, 2016
2fc1a99
[ADD] translation files .pot
May 17, 2016
963ae11
[CHG] greenify travis
May 27, 2016
b5cebea
[CHG] greenify travis and port ymal tests to python
May 27, 2016
984917b
[CHG] add dependency on purchase_request_to_rfq
May 31, 2016
53ab7b8
[FIX] pull189#issuecomment-225476547
AaronHForgeFlow Jun 21, 2016
ff22bbe
[FIX] pull189 flake8 issues
AaronHForgeFlow Jun 21, 2016
d2a3d2b
[FIX] pull189 discussion_r68006610
AaronHForgeFlow Jun 22, 2016
06c3ec8
[UPT] Migrate code to v9
AaronHForgeFlow Aug 11, 2016
6e5552f
[FIX] Readme
AaronHForgeFlow Aug 11, 2016
fd294ef
[FIX] subscribe assigned to as follower
JordiBForgeFlow Sep 9, 2016
9290a98
[FIX] add assigned to as follower of purchase request
JordiBForgeFlow Sep 9, 2016
97f216a
[FIX] fixed handling of needaction mixing in v9
JordiBForgeFlow Sep 11, 2016
0a63567
[IMP] add filters for my requests, and requests assigned to me
JordiBForgeFlow Sep 12, 2016
fb29213
[IMP] Adding rules for manager to see all PR. Remove domain.
AaronHForgeFlow Sep 12, 2016
546ade9
[IMP] adding domain to analytic_account_id in PR line
AaronHForgeFlow Sep 12, 2016
b3df9c9
[FIX] Take the first vendor as preferred supplier
AaronHForgeFlow Sep 12, 2016
4e0f9ca
[UPT] Contributors in readme
AaronHForgeFlow Sep 13, 2016
5126e7e
[UPT] remove pot file and set demo data to no update
AaronHForgeFlow Sep 13, 2016
ae655cf
[IMP] is_editable just depends on state. Added test case
AaronHForgeFlow Sep 13, 2016
824a0cb
[IMP] added test case
AaronHForgeFlow Sep 13, 2016
d274fe1
[FIX] standarize names of security rules
JordiBForgeFlow Sep 16, 2016
38e2327
[MIG] Make modules uninstallable
pedrobaeza Oct 6, 2016
87cbf78
[MIG] Rename manifest files
pedrobaeza Oct 6, 2016
11cb2ee
Migration of purchase_request to 10.0
Oct 14, 2016
6edc87c
[FIX] Fix renamed attribute
Oct 28, 2016
4bc8275
[FIX][purchase_request] Give access on stock.move for purchase reques…
Dec 6, 2016
45bebc4
[FIX] Fix deprecated sequence usage
benwillig Apr 21, 2017
2b6358e
[FIX]purchase_request: s/users/implied_ids
zakmak88 Jan 31, 2017
9dc26b5
[FIX] purchase_request: avoid to have a loop on UOM change.
May 30, 2017
7e7e6e5
[9.0][IMP] purchase_request: add cancelled state to lines.
LoisRForgeFlow Jun 15, 2017
b28790a
improve tests to cover auto-reject
LoisRForgeFlow Jun 15, 2017
da222e6
show cancelled in forms and hide in trees
LoisRForgeFlow Jun 21, 2017
59d32e6
[9.0][IMP] purchase_request: add post-migration script.
LoisRForgeFlow Jun 21, 2017
800d7f7
[REF] Removed version attribute from form xml node
benwillig Jun 29, 2017
f43566d
[REF] Removed deprecated data xml node
benwillig Jun 29, 2017
9d08577
[ADD] 10.0.1.0.1 migration script
benwillig Jun 29, 2017
1aaec51
[FIX] external_id product.product_product_14 doesn't exists in 10.0
benwillig Jun 29, 2017
fbaee18
[FIX] cancelled field should not be copied on record duplication
benwillig Jun 30, 2017
a4a0198
[10.0][FIX] purchase_request: duplicate lines should be disallowed.
LoisRForgeFlow Aug 28, 2017
9a30619
[ADD][10.0] purchase_request_done_status
gmeficent Apr 27, 2017
b2cdf4c
[IMP] button methods
MiquelRForgeFlow Aug 16, 2017
0a847ec
[FIX]account_type does was removed from analytic_account
AaronHForgeFlow Sep 22, 2017
322fcb6
[IMP] Disallow to request an approval for empty purchase requests
benwillig Oct 13, 2017
74aba02
Add purchase request line list from purchase request view
HviorForgeFlow Apr 23, 2018
bf43094
[MIG] purchase_request: Migration to 11.0 merge with purchase_request…
HviorForgeFlow Apr 25, 2018
d042b0c
supplier must be a company
HviorForgeFlow Dec 5, 2018
d0e2a0c
display only purchase request related with supplier id
HviorForgeFlow Dec 5, 2018
e395866
supplier_id should be required as PO need reference a partner
HviorForgeFlow Dec 5, 2018
04b9bf4
review changes
HviorForgeFlow Dec 5, 2018
436f785
[purchase_request] fix in procurement
JordiBForgeFlow Dec 28, 2018
fe95736
[11.0][IMP] purchase_request: Add Estimated cost field
HviorForgeFlow Mar 29, 2019
255aff3
purchase_request moigration V11 to V12
554513154 Jan 30, 2019
c044d16
[IMP]Search purchase requests by product. See purchase request lines …
AaronHForgeFlow Feb 5, 2019
a8e9e06
[FIX]product_id readonly in purchase request
AaronHForgeFlow Feb 6, 2019
c926241
[11.0][IMP] purchase_request: Allow change product on make PO
HviorForgeFlow Jun 3, 2019
a077769
Remove failing domain
hparfr Jul 26, 2019
8323faf
[ENH]purchase_request. Control qty allocation for purchase request lines
AaronHForgeFlow Jul 17, 2019
1a3caa2
[ADD] migration analysis
MiquelRForgeFlow Jul 24, 2019
aefab67
[ADD]purchase_request. Migration scritps
AaronHForgeFlow Jul 25, 2019
713a358
[FIX] purchase_request: Always use Product Unit Of Measure precision
HviorForgeFlow Aug 27, 2019
245eafe
[ENH]add qty_to_buy field for bettwer filtering
AaronHForgeFlow Sep 13, 2019
a611152
[11.0][FIX] purchase_request : ValueError: Expected singleton
Sep 23, 2019
3b93ed7
[FIX]allocation creation when min_qty is greater than qty requested
AaronHForgeFlow Oct 1, 2019
abd375e
[FIX] purchase_request: Don't copy allocation information on duplication
HviorForgeFlow Oct 8, 2019
192ffc2
[IMP] purchase_request: store preferred supplier
HviorForgeFlow Oct 9, 2019
7b27d52
Translated using Weblate (French)
kh-badep Oct 14, 2019
94e8ec7
[FIX] Fix singleton error
Oct 18, 2019
d1742b4
Translated using Weblate (Spanish (Ecuador))
ovnicraft Nov 16, 2019
4f205c8
[FIX] purchase_request: allocations
HviorForgeFlow Nov 11, 2019
0f7cd54
[IMP] purchase_request: add button Create RFQ on purchase request for…
kos94ok-3D Nov 21, 2019
50361bf
[FIX] purchase_request: fix test test_purchase_request_to_rfq_minimum…
kos94ok-3D Nov 21, 2019
934e12e
[FIX]purchase_request migration to 12.0
AaronHForgeFlow Nov 22, 2019
862992e
Translated using Weblate (Portuguese (Brazil))
Nov 24, 2019
2de796d
[ADD] purchase_request: test for wizard default_get
kos94ok-3D Nov 26, 2019
1506242
Translated using Weblate (Italian)
Dec 3, 2019
2f60cf3
[IMP]requested by should not be copied when duplicating a purchase re…
AaronHForgeFlow Dec 11, 2019
b871f52
[IMP] purchase_request; black, isort
kongrattapong Jan 2, 2020
b1a03e2
[MIG] purchase_request: Migration to 13.0
kongrattapong Jan 2, 2020
fec5577
[FIX] purchase_requset
kongrattapong Jan 14, 2020
32d8e60
[FIX] Proper Run Buy implementation
HviorForgeFlow Jan 31, 2020
a5d0ca5
[IMP] purchase_request - unlinking of a pr or a prl is only possible …
baimont Mar 12, 2020
2cf54f9
pre-commit update
OCA-git-bot Mar 14, 2020
1b8d176
Translated using Weblate (Chinese (Simplified))
dong-z Mar 23, 2020
43045d9
[12.0][FIX] purchase_request: allow Purchase users to see purchase re…
etobella Mar 4, 2020
f620248
Translated using Weblate (Chinese (Simplified))
dong-z Mar 24, 2020
1c0e891
Translated using Weblate (Italian)
alessandro-fiorino May 18, 2020
c89b236
[13.0] [FIX] purchase_request: disable creation from form view
sswapnesh Jun 6, 2020
b52563a
[REF] purchase_request: reuse default method code in copy
ThomasBinsfeld Aug 14, 2020
76faa20
[IMP] Purchase Request: add some missing indexes
ThomasBinsfeld Aug 27, 2020
7750b21
[FIX] Delete empty " " spaces in same string line
MiquelRForgeFlow Sep 30, 2020
c26f6d0
[IMP] purchase_request: Speed up stock_move company constraint
moylop260 Sep 23, 2020
70f65fa
[IMP] purchase_request: black, isort, prettier
HviorForgeFlow Oct 15, 2020
7e5d266
[MIG] purchase_request: Migration to 14.0
HviorForgeFlow Oct 15, 2020
1fd5eb8
[13.0][FIX] purchase_request: multi-company rules
LoisRForgeFlow Oct 20, 2020
ac54977
[IMP] purchase_request: Make product.template#purchase_request a prop…
hbrunn Oct 22, 2020
8600aeb
Translated using Weblate (Spanish)
ofonseca-pyming Jan 5, 2021
7feca05
[IMP] various: improve code style and performance by improve ``all()`…
tanghulu0608 Jan 11, 2021
f9c3f37
Translated using Weblate (Spanish (Mexico))
alan196 Feb 2, 2021
1e4bd51
[IMP] purchase_request: index on created_purchase_request_line_id (st…
ThomasBinsfeld Feb 18, 2021
f651511
[14.0][IMP] purchase_request, auto sequence only when saved
kittiu Feb 23, 2021
513aeea
[IMP] purchase_request: Add analytic tags and propagate to PO
joao-p-marques Mar 9, 2021
7d3eb5f
[14.0][FIX] purchase_request, action.sudo().read()
kittiu May 20, 2021
d5c750d
[14.0][IMP] purchase_request, use tracking=True
kittiu Jun 2, 2021
4c46f1f
Update purchase_request_view.xml
Jun 17, 2021
57a70e3
[14.0][IMP] Add seperator tag on filter state
newtratip Jun 18, 2021
e1e9d54
[14.0][IMP] purchase_request, add total estimated cost on PR head
kittiu Jul 20, 2021
adb76e8
Translated using Weblate (Spanish (Mexico))
alan196 Aug 9, 2021
153208b
[FIX] Compute preferred supplier in multicompany
astirpe Aug 2, 2021
8f1a658
[IMP] purchase_request: add test for supplier assignment
StefanRijnhart Aug 10, 2021
fcc73c0
[14.0][FIX] purchase_request: 'tree_view_ref' requires a fully-qualif…
auroraeosrose Sep 14, 2021
bf359b7
Allow to make partial PO from a PR
alessandro-fiorino Oct 18, 2021
4e39bb5
[MIG] purchase_request: Migration to 15.0
HviorForgeFlow Oct 26, 2021
3e18447
purchase_request: fix _compute_qty_to_buy
ajaniszewska-dev Mar 29, 2022
f815c26
[FIX] Fixed unit test case
Nikul-OSI Apr 13, 2022
957e9fc
[FW][FIX]purchase_request: add product_uom_id domain
Aug 23, 2022
e1162dd
Translated using Weblate (Portuguese (Brazil))
douglascstd Oct 3, 2022
978f1bf
[MIG] purchase_request: Migration to 16.0
StefanRijnhart Nov 25, 2022
0d09912
[FIX] purchase_request: increase coverage and fix bugs
StefanRijnhart Nov 30, 2022
03fd0d3
Translated using Weblate (Italian)
francesco-ooops Jan 2, 2023
cd79fe2
Translated using Weblate (Croatian)
badbole Feb 15, 2023
a8d5141
purchase_request add new icon with svg file.
youring Mar 16, 2023
5a0b026
Translated using Weblate (Italian)
mymage Mar 23, 2023
f1721c9
Translated using Weblate (Slovenian)
sysadminmatmoz Mar 30, 2023
6a1bf1f
Translated using Weblate (Italian)
francesco-ooops Apr 17, 2023
39f3803
Update translation files
weblate May 15, 2023
17028be
Translated using Weblate (Portuguese (Brazil))
adrianojprado Jun 11, 2023
d12fdea
Translated using Weblate (Spanish)
Ivorra78 Jul 20, 2023
2b85895
Convert purchase_request readme fragments to markdown
sbidoul Sep 13, 2023
94249a9
[IMP] purchase_request: pre-commit stuff
HviorForgeFlow Sep 14, 2023
feba2fd
[FIX] purchase_request: default payment_terms when create RFQ
Saran440 Sep 4, 2023
84d67e4
Translated using Weblate (Turkish)
tate11 Nov 5, 2023
4eb5a30
[IMP] purchase_request: pre-commit auto fixes
Jan 9, 2024
ad21133
[MIG] purchase_requrest: Migrate to version 17.0
Jan 10, 2024
61742f2
[UPD] Update purchase_request.pot
Jan 25, 2024
6d245e0
[BOT] post-merge updates
OCA-git-bot Jan 25, 2024
5119aa5
Update translation files
weblate Feb 3, 2024
8a9ab8b
Translated using Weblate (Spanish)
Ivorra78 Feb 11, 2024
3141951
Translated using Weblate (Italian)
mymage Feb 13, 2024
cf20b88
Translated using Weblate (Italian)
mymage Feb 14, 2024
a001ac8
Purchase Request App Icon adapted to the new milk style imperfectly.
youring Feb 25, 2024
61f29ee
[BOT] post-merge updates
OCA-git-bot Feb 29, 2024
51a1a9c
Translated using Weblate (Italian)
mymage Mar 15, 2024
6e3e75d
Translated using Weblate (Italian)
mymage Mar 19, 2024
848dba2
[IMP] purchase_request: add UTC time to scheduled_date
augusto-weiss Apr 10, 2024
c21b86a
Translated using Weblate (Italian)
mymage Apr 15, 2024
38923d3
[BOT] post-merge updates
OCA-git-bot Apr 17, 2024
f078f11
[FIX] purchase_request: changes in report layout
ced-adhoc Apr 3, 2024
ab15d71
Translated using Weblate (Italian)
mymage May 2, 2024
ead2fee
[FIX] purchase*: pre-commit fixes
pedrobaeza May 2, 2024
1fd3608
[BOT] post-merge updates
OCA-git-bot May 2, 2024
8e464b2
[BOT] post-merge updates
OCA-git-bot May 28, 2024
59d9e89
Translated using Weblate (Swedish)
jakobkrabbe Jun 11, 2024
01ad7e2
[UPD] Update purchase_request.pot
Jul 22, 2024
580261d
Update translation files
weblate Jul 22, 2024
47a596e
Translated using Weblate (Italian)
mymage Aug 20, 2024
7ab8403
Translated using Weblate (Italian)
mymage Aug 22, 2024
af3ff86
Translated using Weblate (Italian)
mymage Aug 23, 2024
917d567
[17.0][FIX] purchase_request: remove boolean_toggle on wizard view
FernandoGuzmanA Sep 6, 2024
b3870db
[BOT] post-merge updates
OCA-git-bot Sep 6, 2024
5424ad0
[FIX] purchase_request: message_post with html fixed
matiasperalta1 May 2, 2024
ffd1545
[BOT] post-merge updates
OCA-git-bot Oct 9, 2024
0a1c911
[IMP] purchase_request: set requested_by to SO confirmer and set assi…
ArnauCForgeFlow Apr 4, 2024
ddac445
[BOT] post-merge updates
OCA-git-bot Oct 23, 2024
3ae23b2
[MIG] purchase_request: Migration to 18.0
quoc-pn Nov 8, 2024
c9be6e6
[UPD] Update purchase_request.pot
Nov 8, 2024
14c57be
[BOT] post-merge updates
OCA-git-bot Nov 8, 2024
bf0cfb0
Update translation files
weblate Nov 8, 2024
f76285f
Translated using Weblate (Italian)
mymage Nov 11, 2024
abb548b
[FIX] purchase_request: Copy in batch to prevent singleton error
celm1990 Jan 9, 2025
dfd3895
[BOT] post-merge updates
OCA-git-bot Jan 10, 2025
8840aee
[FIX] purchase_request: create new product for test
StefanRijnhart Sep 26, 2024
b5f40f4
[FIX] purchase_request: Add Markup to messages
victoralmau Feb 17, 2025
26060d6
[BOT] post-merge updates
OCA-git-bot Feb 21, 2025
9011c60
[IMP] purchase_request: add 'In Progress' state
LauraCForgeFlow Jul 22, 2024
7c9a31f
[FIX] purchase_request: Ensure correct HTML rendering in chatter mess…
AaronHForgeFlow Mar 4, 2025
99b3560
[UPD] Update purchase_request.pot
Mar 10, 2025
85feb7e
[BOT] post-merge updates
OCA-git-bot Mar 10, 2025
c0a83b8
Update translation files
weblate Mar 10, 2025
c736267
[BOT] post-merge updates
OCA-git-bot Mar 11, 2025
183549f
Update translation files
weblate Mar 11, 2025
754f662
Translated using Weblate (Italian)
mymage Mar 11, 2025
f71c6a1
[IMP] purchase_request: Set groups to group_id field
victoralmau Nov 13, 2024
4d41dcf
[FIX] purchase_request: Display purchase lines correctly in the detai…
victoralmau Mar 4, 2025
27be647
[IMP] purchase_request: Add company_id field (invisible) to form view
victoralmau Mar 5, 2025
2749725
[IMP] purchase_request: Leave the company_id field empty in the sequence
victoralmau Mar 5, 2025
a488186
[IMP] purchase_request: Add kanban view
victoralmau Mar 10, 2025
6be190a
[IMP] purchase_request: Hide the company_id field from the lines + ad…
victoralmau Mar 11, 2025
826ed98
[BOT] post-merge updates
OCA-git-bot Mar 14, 2025
165fc4e
[FIX] purchase_request: Make currency_id field invisible
victoralmau Mar 14, 2025
18da799
[BOT] post-merge updates
OCA-git-bot Mar 14, 2025
81b0de6
[FIX] purchase_request: Display the status of the purchase in the cor…
victoralmau Mar 17, 2025
9b981af
[BOT] post-merge updates
OCA-git-bot Mar 18, 2025
20dc029
[BOT] post-merge updates
OCA-git-bot Mar 24, 2025
3f19497
[IMP] purchase_request: Define analytic_distribution field hidden by …
victoralmau Mar 17, 2025
d074bf8
[BOT] post-merge updates
OCA-git-bot Mar 28, 2025
48647b8
Translated using Weblate (Turkish)
bo-eska Apr 15, 2025
49c9064
[FIX] purchase_request: Change the types of messages that are created…
victoralmau May 6, 2025
17dc061
[BOT] post-merge updates
OCA-git-bot May 9, 2025
20b493a
[IMP] purchase_request: Allow a user with read permissions to create …
victoralmau May 7, 2025
3d363bf
[BOT] post-merge updates
OCA-git-bot May 12, 2025
05746da
Translated using Weblate (Turkish)
bo-eska May 14, 2025
e689093
[FIX] purchase_request: Add noupdate=1 to mail message subtypes
victoralmau Jun 18, 2025
1041f45
[UPD] Update purchase_request.pot
Jun 20, 2025
ea6f302
Update translation files
weblate Jun 20, 2025
897d71b
[IMP] purchase_request: Add specific subtypes for using subscribed pa…
victoralmau Jun 16, 2025
7b28064
[UPD] Update purchase_request.pot
Jun 30, 2025
715e293
[BOT] post-merge updates
OCA-git-bot Jun 30, 2025
3602a18
Update translation files
weblate Jun 30, 2025
431806f
Translated using Weblate (Italian)
mymage Jul 1, 2025
3ea460f
[BOT] post-merge updates
OCA-git-bot Jul 1, 2025
7021f5a
Translated using Weblate (Turkish)
bo-eska Jul 1, 2025
1d63735
[UPD] Update purchase_request.pot
Jul 2, 2025
40ee486
Update translation files
weblate Jul 2, 2025
88874b4
Translated using Weblate (Italian)
mymage Jul 15, 2025
6a77bf6
[FIX] purchase_request: Prevent errors in migration script
carlos-lopez-tecnativa Aug 6, 2025
741e4c1
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 3, 2025
1b333b3
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 3, 2025
621ea2f
Translated using Weblate (Portuguese (Brazil))
douglascstd Sep 3, 2025
d8168aa
[FIX] purchase_request: merging two lines had wrong quantities
dreispt Apr 27, 2022
f0e2084
[BOT] post-merge updates
OCA-git-bot Sep 10, 2025
a904d33
[FIX]purchase request find procurement group method
AaronHForgeFlow Jan 29, 2020
846611e
[BOT] post-merge updates
OCA-git-bot Sep 29, 2025
9e59a27
[FIX] purchase_request: Duplicate stock.move damages inventory valuation
CILC98 Oct 2, 2025
8c3fd4a
[BOT] post-merge updates
OCA-git-bot Oct 7, 2025
69a87ec
[OU-ADD] purchase_request: Migration scripts
victoralmau Oct 27, 2025
147f671
Translated using Weblate (Croatian)
uvid-vlado Nov 5, 2025
22d9608
Translated using Weblate (Croatian)
uvid-vlado Nov 5, 2025
1769555
Translated using Weblate (Croatian)
uvid-vlado Nov 5, 2025
4456ed3
[MIG] purchase_request: Migration to 19.0
mav-adhoc Nov 10, 2025
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
188 changes: 188 additions & 0 deletions purchase_request/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

================
Purchase Request
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:b5e457d0f01d7b43666ceb18e77ec023c81d085cc04f08d01da0503230c5877e
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_request
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_request
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=19.0
:alt: Try me on Runboat

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

You use this module if you wish to give notification of requirements of
materials and/or external services and keep track of such requirements.

Requests can be created either directly or indirectly. "Directly" means
that someone from the requesting department enters a purchase request
manually.

The person creating the request determines what and how much to order,
and the requested date.

"Indirectly" means that the purchase request initiated by the
application automatically, for example, from procurement orders (MO,
SO).

A purchase request is an instruction to Purchasing to procure a certain
quantity of materials services, so that they are available at a certain
point in time.

A line of a request contains the quantity and requested date of the
material to be supplied or the quantity of the service to be performed.
You can indicate the service specifications if needed.

Once request is approved go to the Purchase Request Lines from the menu
entry 'Purchase Requests', and also from the 'Purchase' menu.

Select the lines that you wish to initiate the RFQ for, then go to
'More' and press 'Create RFQ'.

You can choose to select an existing RFQ or create a new one. In the
later, you have to choose a supplier.

In case that you chose to select an existing RFQ, the application will
search for existing lines matching the request line, and will add the
extra quantity to them, recalculating the minimum order quantity, if it
exists for the supplier of that RFQ.

In case that you create a new RFQ, the request lines will also be
consolidated into as few as possible lines in the RFQ.

**Table of contents**

.. contents::
:local:

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

To configure the product follow this steps:

1. Go to a product form.
2. Go to *Inventory* tab.
3. Check the box *Purchase Request* along with the route *Buy* and
*Replenish on Order (MTO)*

Note that MTO route is archived by default, you should unarchive it
first:

- Go to Inventory > Configuration > Routes, in the Search dropdown
menu, click *Archived* to show *Replenish on Order (MTO)* route and
*Unarchive* it.

With this configuration, whenever a procurement order is created and the
supply rule selected is 'Buy' the application will create a Purchase
Request instead of a Purchase Order.

Usage
=====

Purchase requests are accessible through a new menu entry 'Purchase
Requests', and also from the 'Purchase' menu.

Users can access the list of Purchase Requests or Purchase Request
Lines.

It is possible to filter requests by its approval status.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_request%0Aversion:%2019.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
-------

* ForgeFlow

Contributors
------------

- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>

- Jonathan Nemry <jonathan.nemry@acsone.eu>

- Aaron Henriquez <ahenriquez@forgeflow.com>

- Adrien Peiffer <adrien.peiffer@acsone.eu>

- Lois Rilo <lois.rilo@forgeflow.com>

- Héctor Villarreal <hector.villarreal@forgeflow.com>

- Ben Cai <ben.cai@elico-corp.com>

- Rattapong Chokmasermkul <rattapongc@ecosoft.co.th>

- Stefan Rijnhart <stefan@opener.amsterdam>

- ``Trobz <https://trobz.com>``\ \_:

- Son Ho sonhd@trobz.com

- `Komit Company Limited <https://komit-consulting.com/>`__:

- Quoc Pham Ngoc <quoc-pn@komit-consulting.com>

Other credits
-------------

The development of this module has been financially supported by:

|Aleph Objects, Inc|

Images
~~~~~~

- Enric Tobella (logo)

.. |Aleph Objects, Inc| image:: https://upload.wikimedia.org/wikipedia/en/3/3b/Aleph_Objects_Logo.png
:target: https://www.alephobjects.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.

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_request>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions purchase_request/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
32 changes: 32 additions & 0 deletions purchase_request/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2018-2019 ForgeFlow, S.L.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0).

{
"name": "Purchase Request",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"version": "19.0.1.0.0",
"summary": "Use this module to have notification of requirements of "
"materials and/or external services and keep track of such "
"requirements.",
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchase Management",
"depends": ["purchase_stock"],
"data": [
"security/purchase_request.xml",
"security/ir.model.access.csv",
"data/purchase_request_sequence.xml",
"data/purchase_request_data.xml",
"reports/report_purchase_request.xml",
"wizard/purchase_request_line_make_purchase_order_view.xml",
"views/purchase_request_view.xml",
"views/purchase_request_line_view.xml",
"views/purchase_request_report.xml",
"views/product_template.xml",
"views/purchase_order_view.xml",
"views/stock_move_views.xml",
],
"demo": ["demo/purchase_request_demo.xml"],
"license": "LGPL-3",
"installable": True,
"application": True,
}
44 changes: 44 additions & 0 deletions purchase_request/data/purchase_request_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018-2019 ForgeFlow, S.L.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo noupdate="1">
<!-- Request-related subtypes for messaging / Chatter -->
<record id="mt_request_to_approve" model="mail.message.subtype">
<field name="name">Purchase Request to be approved</field>
<field name="res_model">purchase.request</field>
<field name="default" eval="True" />
<field name="description">Purchase Request to be approved</field>
</record>
<record id="mt_request_approved" model="mail.message.subtype">
<field name="name">Purchase Request approved</field>
<field name="res_model">purchase.request</field>
<field name="default" eval="True" />
<field name="description">Purchase Request approved</field>
</record>
<record id="mt_request_rejected" model="mail.message.subtype">
<field name="name">Purchase Request rejected</field>
<field name="res_model">purchase.request</field>
<field name="default" eval="True" />
<field name="description">Purchase Request rejected</field>
</record>
<record id="mt_request_done" model="mail.message.subtype">
<field name="name">Purchase Request done</field>
<field name="res_model">purchase.request</field>
<field name="default" eval="True" />
<field name="description">Purchase Request is done</field>
</record>
<record id="mt_request_po_confirmed" model="mail.message.subtype">
<field name="name">Purchase Order confirmation</field>
<field name="res_model">purchase.request</field>
<field name="default" eval="True" />
<field name="internal" eval="True" />
<field name="description">Purchase Order is confirmed</field>
</record>
<record id="mt_request_picking_done" model="mail.message.subtype">
<field name="name">Purchase receipt confirmation</field>
<field name="res_model">purchase.request</field>
<field name="default" eval="True" />
<field name="internal" eval="True" />
<field name="description">Receipt is done</field>
</record>
</odoo>
12 changes: 12 additions & 0 deletions purchase_request/data/purchase_request_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018-2019 ForgeFlow, S.L.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo noupdate="1">
<record id="seq_purchase_request" model="ir.sequence">
<field name="name">Purchase Request</field>
<field name="code">purchase.request</field>
<field name="prefix">PR</field>
<field name="padding">5</field>
<field name="company_id" />
</record>
</odoo>
11 changes: 11 additions & 0 deletions purchase_request/demo/purchase_request_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2018-2019 ForgeFlow, S.L.
License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl-3.0) -->
<odoo noupdate="1">
<record id="base.user_demo" model="res.users">
<field eval="[(4, ref('group_purchase_request_user'))]" name="group_ids" />
</record>
<record id="base.user_admin" model="res.users">
<field eval="[(4, ref('group_purchase_request_manager'))]" name="group_ids" />
</record>
</odoo>
Loading
Loading