Supplier Calendar
supplier_calendar · OCA/purchase-workflow
Health
75/100
good
-
Security25/25No findings
-
Activity20/25Last human commit 7 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 8 Odoo series since 12.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
4 models
3 views
0 HTTP endpoints
Description
This module adds a Calendar to the ResPartner model. This calendar can then used as the basis of the proper computation of start/end dates based on the delivery lead time of the supplier in this and other modules.
In this module, the calendar is considered in the computation of the schedules date of a stock picking and in the order date of a purchase order.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 3
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
product_supplierinfo_form_view |
product.supplierinfo.form.view | product.supplierinfo | form | Inherits product.product_supplierinfo_form_view |
product_supplierinfo_supplier_calendar_tree_view |
product.supplierinfo.supplier_calendar.tree.view | product.supplierinfo | tree | Inherits product.product_supplierinfo_tree_view |
view_partner_form |
partner.factory.calendar.form | res.partner | form | Inherits base.view_partner_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 4
New fields (1)
-
delay_calendar_typeSelectionreadonly=Truerelated='partner_id.delay_calendar_type'
No public methods.
New fields (0)
No new fields.
Public methods (0)No public methods.
New fields (2)
-
delay_calendar_typeSelectiondefault='natural'required=True args: [('natural', 'Natural days'), ('supplier_calendar', 'Supplier Calendar')] -
factory_calendar_idMany2one → resource.calendarcomodel_name='resource.calendar'
-
supplier_plan_days(self, date_from, delta)Helper method to calculate supplier delay based on its working days (if set). :param datetime date_from: reference date. :param integer delta: delay established. :return: datetime: resulting date.
New fields (0)
No new fields.
Public methods (0)No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…