TIP: You can type at any time to perform a new search.
Sourcing with Framework Agreements
framework_agreement_sourcing · OCA/vertical-ngo
Security findings
Migration considerations
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.exceptions` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Uses the old workflow engine (base.workflow / `trg_validate`): removed in Odoo 11.0, must be rewritten as state-field transitions. migration-workflow · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.osv` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
- Imports from the old `openerp.tools.translate` namespace: renamed to `odoo` since Odoo 10.0. migration-openerp-import · source
logistic_requisition_cost_estimate— Class 'logistic_requisition_cost_estimate' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcelogistic_requisition_source— Class 'logistic_requisition_source' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcelogistic_requisition_source— Class 'logistic_requisition_source' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcelogistic_requisition_source_po_creator— Class 'logistic_requisition_source_po_creator' still inherits from the old-style `orm.TransientModel` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcelogistic_requisition_source_po_creator— Class 'logistic_requisition_source_po_creator' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. migration-old-style-fields · sourcepurchase_order— Class 'purchase_order' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourcesale_order_line— Class 'sale_order_line' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceview_logistic_requisition_line_form— For a target of Odoo 17.0+: view 'view_logistic_requisition_line_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · sourceview_logistic_requisition_source_form— For a target of Odoo 17.0+: view 'view_logistic_requisition_source_form' uses `attrs=`/`states=`, which are no longer supported. Convert modifiers to direct Python boolean expressions in `invisible`/`readonly`/`required`; preserve the original AND/OR logic. migration-view-attrs-states · source
Migration review checklist, not a compatibility verdict. No target version is selected: apply version-specific advice only when migrating to that version or later.
- Repository
- OCA/vertical-ngo · module folder · Try on Runboat
- Module version
- 2.0.0
- Category
- NGO
- Folder size
- 0.07 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- http://www.camptocamp.com
- Last tracking update
- 2026-08-07 07:17:53
- Authors
- Camptocamp, Odoo Community Association (OCA)
- Maintainers
- Camptocamp
- Committers
- Pedro M. Baeza, Stéphane Bidoul (ACSONE)
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- framework_agreement_sourcing_stock_route_transit
- Description
Code Analysis
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
view_create_agr_po_from_source |
Create Purchase Order From Requisition Source | logistic.requisition.source.create.agr.po | form | New |
view_logistic_requisition_line_form |
logistic.requisition.line.form | logistic.requisition.line | form | Inherits logistic_requisition.view_logistic_requisition_line_form |
view_logistic_requisition_source_form |
view_logistic_requisition_source_form | logistic.requisition.source | form | Inherits logistic_requisition.view_logistic_requisition_source_form |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (7)
New fields (0)
No new fields.
Public methods (1)-
cost_estimate(self, cr, uid, ids, context=None)Override to link PO to cost_estimate$ In a normal flow, when you chose a bid as the winning one, the bid is dupplicated to generate the draft PO. On this action, it link the LRS to the generated PO line. In a tender flow, we don't dupplicate the bid, it's only a PO. The link between the LRS and the PO line should then be created here. This is for the drop shipping to work propely cause in that case, SO and PO are linked together.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (0)
No new fields.
Public methods (2)-
make_purchase_order(self, cr, uid, ids, pricelist, context=None)Create a purchase order from the LRS ids list. This method will create one PO with all lines. Between them, you'll have line of type LTA (framewrok agreement) and line of type other. Currently, only one line of type LTA is accepted at a time. We'll raise an error if other types are selected here. We accept line of type other here to include products not included in the LTA for example : you order Product A under LTA + the transport as a LRS of type other. :param integer list ids: ids of logistic.requisition.source :param browse_record pricelist: product.pricelist :returns integer : generated PO id -
update_agreement(self)@api.onchange('sourcing_method', 'portfolio_id', 'proposed_qty', 'proposed_product_id')Update the choice of agreement depending on other fields. Like in the purchase order with framework_agreement 2.0, we do not choose automatically the cheapest agreement, except when there is only one that is suitable. If the current choice is suitable, keep it.
New fields (0)
No new fields.
Public methods (2)-
action_create_agreement_po_requisition(self, cr, uid, ids, context=None)Implement buttons that create PO from selected source lines -
default_get(self, cr, uid, fields_list, context=None)Take the pricelist of the lrs by default. Show the available choice for the user.
New fields (0)
No new fields.
Public methods (1)-
action_confirm(self, cr, uid, ids, context=None)
New fields (0)
No new fields.
Public methods (1)-
action_accepted(self)@api.multiOn acceptation of Cost Estimate, we generate PO for all line sourced by a framework agreement Framework agreement currency is selected this way: - Currency matching with Cost Estimate currency. - Or first currency found on framework agreement.
New fields (0)
No new fields.
Public methods (1)-
button_confirm(self, cr, uid, ids, context=None)Override confirmation of request of quotation to support LTA Related PO generated by agreement source line will be passed to state draft_po.
Loading…
Loading…
Loading…