Logistics Order
logistic_order · OCA/vertical-ngo
Health
70/100
fair
-
Security25/25No findings
-
Activity0/25Last human commit 102 months ago
-
Required by20/254 modules depend on it
-
Maturity25/25In 4 Odoo series since 7.0
Heuristic over the facts below, not an audit · How it's computed
Required by
4
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.03 MB
Module directory on disk
Code analysis
4 migration notes
3 models
4 views
0 HTTP endpoints
Migration considerations
SaleOrder— Migrating to 13.0: `@api.multi`/`@api.one` were removed (multi is the default): drop them, looping over `self` where `@api.one` was used. (6 methods) (3 occurrences in this file) migration-api-multi-one · sourceview_order_form— Migrating to 17.0: `attrs=`/`states=` are rejected in views: convert them to Python expressions in `invisible`/`readonly`/`required`, keeping the original AND/OR logic. migration-view-attrs-states · sourceview_quotation_tree— Migrating to 18.0: the `tree` view type was renamed to `list` (`<list>` roots, `view_mode`). migration-view-tree-tag · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp`) (3 occurrences in this file) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Logistics Order
This module customizes the Sales Orders to disguise them in Logistics Orders
A draft Sale order is now a Cost Estimate An opened Sale order is now a Logistics Order
- Adds Consignee, Incoterm Address and Delivery time on the Logistics Order
- Adds a main menu entry
Order Management
Contributors
- Guewen Baconnier guewen.baconnier@camptocamp.com
- Nicolas Bessi nicolas.bessi@camptocamp.com
- Yannick Vaucher yannick.vaucher@camptocamp.com
- Alexandre Fayolle alexandre.fayolle@camptocamp.com
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- logistic_order_donation, logistic_order_multicurrency, logistic_requisition, ngo_shipment_plan
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 4
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
report_logistic_order_document |
report_logistic_order_document | ir.ui.view | qweb | Inherits sale.report_saleorder_document |
view_order_form |
sale.order.form | sale.order | form | Inherits sale_stock.view_order_form_inherit |
view_quotation_tree |
sale.order.tree | sale.order | tree | Inherits sale.view_quotation_tree |
view_sales_order_filter |
sale.order.list.select | sale.order | list | Inherits sale.view_sales_order_filter |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 3
New fields (0)
No new fields.
Public methods (1)-
send_mail(self)@api.multiWhen sending mail for a Cost Estimate Only Send a signal to set the Cost Estimate to `done`
New fields (20)
-
carrier_idMany2one → delivery.carrierhelp='Complete this field if you plan to invoice the shipping based on picking.'states=LO_STATESstring='Delivery Method' args: 'delivery.carrier' -
client_order_refCharstates=LO_STATES -
company_idMany2onestates=LO_STATES -
currency_idMany2oneco_model='res.currency'related='pricelist_id.currency_id'states=LO_STATESstring='Currency' -
delivery_remarkTextstates=LO_STATES args: 'Delivery Remarks' -
delivery_timeCharstates=LO_STATES args: 'Delivery time' -
fiscal_positionMany2onestates=LO_STATES -
incotermMany2one → stock.incotermshelp='International Commercial Terms are a series of predefined commercial terms used in international transactions.'states=LO_STATES args: 'stock.incoterms', 'Incoterm' -
incoterm_addressCharhelp='Incoterm Place of Delivery. International Commercial Terms are a series of predefined commercial terms used in international transactions.'states=LO_STATES args: 'Incoterm Place' -
noteTextstates=LO_STATES -
order_typeSelectiondefault='standard'selection=_get_order_type_selectionstates=LO_STATESstring='Type' -
originCharstates=LO_STATES -
payment_termMany2onestates=LO_STATES -
procurement_group_idMany2onestates=LO_STATES -
remarkTextstates=LO_STATES args: 'Remarks / Description' -
section_idMany2onestates=LO_STATES -
stateSelectioncopy=Falsehelp="Gives the status of the quotation or sales order.\nThe exception status is automatically set when a cancel operation occurs in the invoice validation (Invoice Exception) or in the picking list process (Shipping Exception).\nThe 'Waiting Schedule' status is set when the invoice is confirmed but waiting for the scheduler to run on the order date."readonly=Trueselect=True args: [('draft', 'Draft Quotation'), ('sent', 'Quotation Sent'), ('accepted', 'Cost Estimate Accepted'), ('cancel', 'Cancelled'), ('waiting_date', 'Waiting Schedule'), ('progress', 'Sales Order'), ('manual', 'Sale to Invoice'), ('shipping_except', 'Shipping Exception'), ('invoice_except', 'Invoice Exception'), ('done', 'Done')], 'Status' -
user_idMany2onestates=LO_STATES -
volumeFloatcompute='_get_volume'store=Truestring='Volume (m³)' -
weightFloatcompute='_get_weight'store=Truestring='Weight (kg)'
-
action_accepted(self)@api.multi -
action_quotation_send(self)@api.multiIn case of Cost Estimate only, register an option to set the Cost Estimate immediatly to `done` when the users sends his mail. Nevertheless, if he launches the wizard but cancel it, we won't trigger the transition to `done` We pass this in order to avoid to browse in `mail.compose.message` -
copy_quotation(self)@api.multiCopy the quotation and open it in the current form view. Do not specify the view, so that the inherited one is chosen. -
get_order_type_selection(self)@api.modelExtendable selection list
New fields (3)
-
value_of_goodsFloathelp='This field represent the value of the goods and will be used for reporting purpose (e.g mobilization table)' -
volumeFloatcompute='_get_volume'string='Volume (m³)' -
weightFloatcompute='_get_weight'string='Weight (kg)'
-
product_id_change_with_wh(self, cr, uid, ids, pricelist, product, qty=0, uom=False, qty_uos=0, uos=False, name='', partner_id=False, lang=False, update_tax=True, date_order=False, packaging=False, fiscal_position=False, flag=False, warehouse_id=False, context=None)
Loading…
Loading…
Loading…