Skip to content

[18.0][MIG] purchase_request_to_requisition #2698

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

Open
wants to merge 37 commits into
base: 18.0
Choose a base branch
from

Conversation

Saran440
Copy link
Member

  • Purchase Agreement change state to Draft, Confirmed, Done, Cancel. it not same as Purchase Request. So, I change test script to support version18
  • If Create Purchase Agreement with multi company. Purchase Agreement will use default company login.

JordiBForgeFlow and others added 30 commits May 27, 2025 15:34
* [ADD] test that  cancel an existing demo PO and create a new revision

* [ADD] fill_unrevisioned_name post init hook

* [ADD] purchase request modules

* [IMP] Add try me on runbot

* [FIX] Use suspend_security on search on purchase order for users that have no access right on purchases.

* [ADD] addons table in README.md

* [IMP][purchase_partial_invoicing] Add dependencies informations in readme file

* [FIX] Various fixes

* [FIX] fixed travis errors

* FIX: properly propagate _run() method of procurement.order accross the class hierarchy

* [FIX] travis errors

* [FIX] openerp.models: ir.values.create() with unknown fields: object

* [IMP] Added message notifications on change of the status of the purchase request.

* [IMP] purchase_request_to_requisition. We don't allow to set call for bids and purchase request at the same time in the product form.

* [UPD] prefix versions with 8.0

* [FIX] fixed group by error

* [IMP] extend purchase request line search

* [FIX] fixed search filter

* [MOV] move addons out of __unported__ (they remain not installable)

* [TEST][purchase_partial_invoicing] Call ir.rule register hook

* [FIX] do not display product_tmpl_id on product_supplier_info form if opened from product form

* [FIX][product_supplierinfo_discount] Fail when same products has multiple records of same supplier

Odoo does not restrict entering mulltiple product.supplierinfo records
for the same product and same partner.

* [FIX][product_supplierinfo_discount] Less code to select first element

* [UPD] addons table in README.md

* [IMP] split from purchase_request_to_requisition the module purchase_request_procurement

* [FIX] pep8 issues

* FIX

1.create purchase order ..maybe: PO00001
2.confirm purchase order
3. cancle this purchase order .name: PO00001
4.new revision ....then create new purhcase order name i s PO00001-1
5.cancel this purchase order name PO00001-1
6.more->duplicate
7.new purchase order create...name is PO00002
8. confirm this order PO00002
9.cancel this order PO00002
10. new revision.....then error

Order Reference must be unique per Company

* [FIX] fix error when create PO/Bid from PR line w/o product_id

* [FIX] adjustments to make the purchase request compatible with v8

* [FIX] fix related to picking type and warehouse for v8

Minimum fix just to continue on purchase_requistion_operating_unit
Otherwise, it just give me errors.
Please review and make fix to your branch and I will follow.

* [FIX] recover what has fixed from previous PR (was removed)

ForgeFlow#2

* [FIX] purchase_request_to_rfq, assign date_planned if none.

If no product_id, date_planned won't be prepare. But we need it or
error.

* [ENH] purchase_request, PR Line only filtered with non-Draft state

* [IMP] .travis.yml: Coveralls+Transifex activation

* add purchase_picking_state module

* add french translate

* OCA Transbot updated translations from Transifex

* [IMP] purchase_discount: load price with discount in stock_move when confirm a purchase order

* fix README.rst and fix openerp.py and refactor _compute_picking_state method and add tests and add invisible attribut for picking_state field in views

* add icon.png

* fix tests

* [ADD] Module to split purchase receptions by dates

* [MIGR] purchase_delivery_split_date

Use v8 API
Follow the OCA guidelines for manifest and README
PEP8
Extend _create_stock_move because the method we used to extend in v7 doesn't exist anymore.

* [IMP] Unit test for purchase_delivery_split_date

* [FIX] manifest conventions

* Conform to OCA standards

* [UPD] addons table in README.md

* OCA Transbot updated translations from Transifex

* [UPD] addons table in README.md

* [ADD]purchase_rfq_number

* [UPD]Changing url for issue on README.rst

* [FIX]Fix errors in writing

* [UPD]Creating Unittest

* Change Block Comment from '#' into '# '

* [ADD] setup.py

* OCA Transbot updated translations from Transifex

* [FIX] a line with a bigger invoiced quantity than the quantity ordered should be considered as invoiced.

* [FIX] Error raised if no procurement during the creation of the purchase order form the purchase request

* [UPD] addons table in README.md

* [ADD] setup.py

* OCA Transbot updated translations from Transifex

* [ADD] translation files .pot

* OCA Transbot updated translations from Transifex

* [FIX] messages to the purchase request generated in purchase order, stock picking and purchase requisition should notify to followers of the purchase request.

* [ADD] purchase_requisition_type (OCA#231)

* [ADD] purchase_requisition_type

* Delete duplicate usage on README.rst

* Fix error when encode BID

* [UPD] Add invoice_method on _prepare_purchase_order function

* [UPD] Add invoice_method on unittest prepare_purchase_order

* Fixing flake error E501

* [UPD] addons table in README.md

* [ADD] setup.py

* [CHG] greenify travis
* Move yml into python test
* Pep8/Flake8

* [CHG] greenify travis and port ymal tests to python

* OCA Transbot updated translations from Transifex

* [CHG] add dependency on purchase_request_to_rfq
see also ForgeFlow#9 (comment)

* [FIX] travis

* [CHG] restart build

* [REV]test_prepare_purchase_order.py (OCA#235)

* [ADD] purchase request modules

* [IMP] Add try me on runbot

* [FIX] Various fixes

* [FIX] fixed travis errors

* FIX: properly propagate _run() method of procurement.order accross the class hierarchy

* [FIX] travis errors

* [FIX] openerp.models: ir.values.create() with unknown fields: object

* [IMP] Added message notifications on change of the status of the purchase request.

* [IMP] purchase_request_to_requisition. We don't allow to set call for bids and purchase request at the same time in the product form.

* [FIX] fixed group by error

* [IMP] extend purchase request line search

* [FIX] fixed search filter

* [IMP] split from purchase_request_to_requisition the module purchase_request_procurement

* [FIX] pep8 issues

* [FIX] fix error when create PO/Bid from PR line w/o product_id

* [FIX] adjustments to make the purchase request compatible with v8

* [FIX] fix related to picking type and warehouse for v8

Minimum fix just to continue on purchase_requistion_operating_unit
Otherwise, it just give me errors.
Please review and make fix to your branch and I will follow.

* [FIX] recover what has fixed from previous PR (was removed)

ForgeFlow#2

* [ENH] purchase_request, PR Line only filtered with non-Draft state

* [FIX] Error raised if no procurement during the creation of the purchase order form the purchase request

* [ADD] translation files .pot

* [FIX] messages to the purchase request generated in purchase order, stock picking and purchase requisition should notify to followers of the purchase request.

* [CHG] greenify travis
* Move yml into python test
* Pep8/Flake8

* [CHG] greenify travis and port ymal tests to python

* [CHG] add dependency on purchase_request_to_rfq
see also ForgeFlow#9 (comment)

* [FIX] travis

* [CHG] restart build

* [FIX] pull189#issuecomment-225476547

* [FIX] pull189 flake8 issues

* [FIX] pull189 flake8 issues

* [FIX] pull189 discussion_r68006610

* [FIX] pull189 discussion_r68008046
* purchase.order and purchase.order.line
* purchase.requisition and purchase.requisition.line
Currently translated at 30.3% (17 of 56 strings)

Translation: purchase-workflow-14.0/purchase-workflow-14.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-14-0/purchase-workflow-14-0-purchase_request_to_requisition/pt_BR/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 25.0% (14 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/it/
Currently translated at 75.0% (42 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/es/
Currently translated at 100.0% (56 of 56 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/
oca-ci and others added 7 commits May 27, 2025 15:34
Currently translated at 100.0% (54 of 54 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/
Currently translated at 100.0% (54 of 54 strings)

Translation: purchase-workflow-15.0/purchase-workflow-15.0-purchase_request_to_requisition
Translate-URL: https://translation.odoo-community.org/projects/purchase-workflow-15-0/purchase-workflow-15-0-purchase_request_to_requisition/es/
@Saran440 Saran440 force-pushed the 18.0-mig-purchase_request_to_requisition branch from 684f9a7 to 2fd2d85 Compare May 28, 2025 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.