Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
88
sale_delivery_split_date/README.rst
Executable file
88
sale_delivery_split_date/README.rst
Executable file
@@ -0,0 +1,88 @@
|
||||
========================
|
||||
Sale Delivery Split Date
|
||||
========================
|
||||
|
||||
..
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:69652f1972b11818ac88de151e78405313708c3ac7722d9f26939bfa20c21a44
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |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/licence-AGPL--3-blue.png
|
||||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/sale-workflow/tree/18.0/sale_delivery_split_date
|
||||
:alt: OCA/sale-workflow
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_delivery_split_date
|
||||
: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/sale-workflow&target_branch=18.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
||||
When this module is installed, each sale order you confirm will generate
|
||||
one delivery order per requested date indicated in the sale order lines.
|
||||
|
||||
Furthermore, the delivery orders can be searched by selecting the
|
||||
scheduled date, which is now displayed in the delivery tree view.
|
||||
|
||||
**Table of contents**
|
||||
|
||||
.. contents::
|
||||
:local:
|
||||
|
||||
Known issues / Roadmap
|
||||
======================
|
||||
|
||||
- Incompatible with
|
||||
`sale_procurement_group_by_commitment_date <https://github.com/OCA/sale-workflow/tree/12.0/sale_procurement_group_by_commitment_date>`__
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
||||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-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/sale-workflow/issues/new?body=module:%20sale_delivery_split_date%0Aversion:%2018.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
|
||||
-------
|
||||
|
||||
* Agile Business Group
|
||||
|
||||
Contributors
|
||||
------------
|
||||
|
||||
- Alex Comba <alex.comba@agilebg.com> (https://www.agilebg.com/)
|
||||
- Carmen Rondon Regalado <crondon@archeti.com>
|
||||
(https://odoo.archeti.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/sale-workflow <https://github.com/OCA/sale-workflow/tree/18.0/sale_delivery_split_date>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
3
sale_delivery_split_date/__init__.py
Executable file
3
sale_delivery_split_date/__init__.py
Executable file
@@ -0,0 +1,3 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import models
|
||||
20
sale_delivery_split_date/__manifest__.py
Executable file
20
sale_delivery_split_date/__manifest__.py
Executable file
@@ -0,0 +1,20 @@
|
||||
# Copyright 2018 Alex Comba - Agile Business Group
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
"name": "Sale Delivery Split Date",
|
||||
"version": "18.0.1.0.0",
|
||||
"summary": "Sale Deliveries split by date",
|
||||
"category": "Sales Management",
|
||||
"license": "AGPL-3",
|
||||
"author": "Agile Business Group, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/sale-workflow",
|
||||
"depends": [
|
||||
"sale_order_line_date",
|
||||
"sale_procurement_group_by_line",
|
||||
],
|
||||
"data": [
|
||||
"views/stock_picking.xml",
|
||||
],
|
||||
"installable": True,
|
||||
}
|
||||
36
sale_delivery_split_date/i18n/ca.po
Executable file
36
sale_delivery_split_date/i18n/ca.po
Executable file
@@ -0,0 +1,36 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_delivery_split_date
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2021-03-10 10:45+0000\n"
|
||||
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: ca\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.3.2\n"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model:ir.model,name:sale_delivery_split_date.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Línia de comandes de vendes"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model_terms:ir.ui.view,arch_db:sale_delivery_split_date.view_picking_internal_search
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Data prevista"
|
||||
|
||||
#~ msgid "Sale Order"
|
||||
#~ msgstr "Comanda de venda"
|
||||
|
||||
#~ msgid "Scheduled Date (for filter purpose only)"
|
||||
#~ msgstr "Data programada (només per al filtre)"
|
||||
|
||||
#~ msgid "Transfer"
|
||||
#~ msgstr "Transferència"
|
||||
36
sale_delivery_split_date/i18n/es.po
Executable file
36
sale_delivery_split_date/i18n/es.po
Executable file
@@ -0,0 +1,36 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_delivery_split_date
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2021-03-10 10:45+0000\n"
|
||||
"Last-Translator: Daniel Martinez Vila <daniel.martinez@qubiq.es>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.3.2\n"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model:ir.model,name:sale_delivery_split_date.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Línea de pedido de venta"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model_terms:ir.ui.view,arch_db:sale_delivery_split_date.view_picking_internal_search
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Fecha prevista"
|
||||
|
||||
#~ msgid "Sale Order"
|
||||
#~ msgstr "Pedido de venta"
|
||||
|
||||
#~ msgid "Scheduled Date (for filter purpose only)"
|
||||
#~ msgstr "Fecha programada (solo para fines de filtrado)"
|
||||
|
||||
#~ msgid "Transfer"
|
||||
#~ msgstr "Transferir"
|
||||
37
sale_delivery_split_date/i18n/it.po
Executable file
37
sale_delivery_split_date/i18n/it.po
Executable file
@@ -0,0 +1,37 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_delivery_split_date
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2020-08-31 14:57+0000\n"
|
||||
"PO-Revision-Date: 2024-01-25 15:34+0000\n"
|
||||
"Last-Translator: mymage <stefano.consolaro@mymage.it>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.17\n"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model:ir.model,name:sale_delivery_split_date.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Riga ordine di vendita"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model_terms:ir.ui.view,arch_db:sale_delivery_split_date.view_picking_internal_search
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Data schedulata"
|
||||
|
||||
#~ msgid "Sale Order"
|
||||
#~ msgstr "Ordine di vendita"
|
||||
|
||||
#~ msgid "Scheduled Date (for filter purpose only)"
|
||||
#~ msgstr "Data pianificata (solo per i filtri)"
|
||||
|
||||
#~ msgid "Transfer"
|
||||
#~ msgstr "Trasferimento"
|
||||
36
sale_delivery_split_date/i18n/pt_PT.po
Executable file
36
sale_delivery_split_date/i18n/pt_PT.po
Executable file
@@ -0,0 +1,36 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_delivery_split_date
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 12.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"PO-Revision-Date: 2021-04-21 20:47+0000\n"
|
||||
"Last-Translator: educasilva <eduardo.silva@exo.pt>\n"
|
||||
"Language-Team: none\n"
|
||||
"Language: pt_PT\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.3.2\n"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model:ir.model,name:sale_delivery_split_date.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr "Linha de encomendas de venda"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model_terms:ir.ui.view,arch_db:sale_delivery_split_date.view_picking_internal_search
|
||||
msgid "Scheduled Date"
|
||||
msgstr "Data programada"
|
||||
|
||||
#~ msgid "Sale Order"
|
||||
#~ msgstr "Ordem de venda"
|
||||
|
||||
#~ msgid "Scheduled Date (for filter purpose only)"
|
||||
#~ msgstr "Data programada (apenas para fins de filtragem)"
|
||||
|
||||
#~ msgid "Transfer"
|
||||
#~ msgstr "Transferir"
|
||||
24
sale_delivery_split_date/i18n/sale_delivery_split_date.pot
Executable file
24
sale_delivery_split_date/i18n/sale_delivery_split_date.pot
Executable file
@@ -0,0 +1,24 @@
|
||||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * sale_delivery_split_date
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 18.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model:ir.model,name:sale_delivery_split_date.model_sale_order_line
|
||||
msgid "Sales Order Line"
|
||||
msgstr ""
|
||||
|
||||
#. module: sale_delivery_split_date
|
||||
#: model_terms:ir.ui.view,arch_db:sale_delivery_split_date.view_picking_internal_search
|
||||
msgid "Scheduled Date"
|
||||
msgstr ""
|
||||
3
sale_delivery_split_date/models/__init__.py
Executable file
3
sale_delivery_split_date/models/__init__.py
Executable file
@@ -0,0 +1,3 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import sale_order_line
|
||||
46
sale_delivery_split_date/models/sale_order_line.py
Executable file
46
sale_delivery_split_date/models/sale_order_line.py
Executable file
@@ -0,0 +1,46 @@
|
||||
# Copyright 2018 Alex Comba - Agile Business Group
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from datetime import timedelta
|
||||
|
||||
from odoo import models
|
||||
from odoo.tools import format_date
|
||||
|
||||
|
||||
class SaleOrderLine(models.Model):
|
||||
_inherit = "sale.order.line"
|
||||
|
||||
def _prepare_procurement_group_vals(self):
|
||||
vals = super()._prepare_procurement_group_vals()
|
||||
if self._get_procurement_group_key()[0] == 24:
|
||||
if self.commitment_date:
|
||||
comm_date = self._get_security_lead_time_commitment_date()
|
||||
vals["name"] += "/" + format_date(self.env, comm_date.date())
|
||||
return vals
|
||||
|
||||
def _get_procurement_group_key(self):
|
||||
"""Return a key with priority to be used to regroup lines in multiple
|
||||
procurement groups
|
||||
"""
|
||||
priority = 24
|
||||
key = super()._get_procurement_group_key()
|
||||
# Check priority
|
||||
if key[0] < priority:
|
||||
if self.commitment_date:
|
||||
# group by date instead of datetime
|
||||
comm_date = self._get_security_lead_time_commitment_date()
|
||||
return (priority, comm_date.date())
|
||||
return key
|
||||
|
||||
def _prepare_procurement_values(self, group_id=False):
|
||||
vals = super()._prepare_procurement_values(group_id=group_id)
|
||||
if self.commitment_date:
|
||||
comm_date = self._get_security_lead_time_commitment_date()
|
||||
vals.update({"date_planned": comm_date})
|
||||
return vals
|
||||
|
||||
def _get_security_lead_time_commitment_date(self):
|
||||
"""Return the commitment date with security lead time"""
|
||||
return self.commitment_date - timedelta(
|
||||
days=self.order_id.company_id.security_lead
|
||||
)
|
||||
3
sale_delivery_split_date/pyproject.toml
Executable file
3
sale_delivery_split_date/pyproject.toml
Executable file
@@ -0,0 +1,3 @@
|
||||
[build-system]
|
||||
requires = ["whool"]
|
||||
build-backend = "whool.buildapi"
|
||||
3
sale_delivery_split_date/readme/CONTRIBUTORS.md
Executable file
3
sale_delivery_split_date/readme/CONTRIBUTORS.md
Executable file
@@ -0,0 +1,3 @@
|
||||
- Alex Comba \<<alex.comba@agilebg.com>\> (<https://www.agilebg.com/>)
|
||||
- Carmen Rondon Regalado \<<crondon@archeti.com>\>
|
||||
(<https://odoo.archeti.com/>)
|
||||
5
sale_delivery_split_date/readme/DESCRIPTION.md
Executable file
5
sale_delivery_split_date/readme/DESCRIPTION.md
Executable file
@@ -0,0 +1,5 @@
|
||||
When this module is installed, each sale order you confirm will generate
|
||||
one delivery order per requested date indicated in the sale order lines.
|
||||
|
||||
Furthermore, the delivery orders can be searched by selecting the
|
||||
scheduled date, which is now displayed in the delivery tree view.
|
||||
2
sale_delivery_split_date/readme/ROADMAP.md
Executable file
2
sale_delivery_split_date/readme/ROADMAP.md
Executable file
@@ -0,0 +1,2 @@
|
||||
- Incompatible with
|
||||
[sale_procurement_group_by_commitment_date](https://github.com/OCA/sale-workflow/tree/12.0/sale_procurement_group_by_commitment_date)
|
||||
BIN
sale_delivery_split_date/static/description/icon.png
Executable file
BIN
sale_delivery_split_date/static/description/icon.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
436
sale_delivery_split_date/static/description/index.html
Executable file
436
sale_delivery_split_date/static/description/index.html
Executable file
@@ -0,0 +1,436 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
|
||||
<title>Sale Delivery Split Date</title>
|
||||
<style type="text/css">
|
||||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
Despite the name, some widely supported CSS2 features are used.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
*/
|
||||
|
||||
/* used to remove borders from tables and images */
|
||||
.borderless, table.borderless td, table.borderless th {
|
||||
border: 0 }
|
||||
|
||||
table.borderless td, table.borderless th {
|
||||
/* Override padding for "table.docutils td" with "! important".
|
||||
The right padding separates the table cells. */
|
||||
padding: 0 0.5em 0 0 ! important }
|
||||
|
||||
.first {
|
||||
/* Override more specific margin styles with "! important". */
|
||||
margin-top: 0 ! important }
|
||||
|
||||
.last, .with-subtitle {
|
||||
margin-bottom: 0 ! important }
|
||||
|
||||
.hidden {
|
||||
display: none }
|
||||
|
||||
.subscript {
|
||||
vertical-align: sub;
|
||||
font-size: smaller }
|
||||
|
||||
.superscript {
|
||||
vertical-align: super;
|
||||
font-size: smaller }
|
||||
|
||||
a.toc-backref {
|
||||
text-decoration: none ;
|
||||
color: black }
|
||||
|
||||
blockquote.epigraph {
|
||||
margin: 2em 5em ; }
|
||||
|
||||
dl.docutils dd {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
||||
dl.docutils dt {
|
||||
font-weight: bold }
|
||||
*/
|
||||
|
||||
div.abstract {
|
||||
margin: 2em 5em }
|
||||
|
||||
div.abstract p.topic-title {
|
||||
font-weight: bold ;
|
||||
text-align: center }
|
||||
|
||||
div.admonition, div.attention, div.caution, div.danger, div.error,
|
||||
div.hint, div.important, div.note, div.tip, div.warning {
|
||||
margin: 2em ;
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.admonition p.admonition-title, div.hint p.admonition-title,
|
||||
div.important p.admonition-title, div.note p.admonition-title,
|
||||
div.tip p.admonition-title {
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
div.attention p.admonition-title, div.caution p.admonition-title,
|
||||
div.danger p.admonition-title, div.error p.admonition-title,
|
||||
div.warning p.admonition-title, .code .error {
|
||||
color: red ;
|
||||
font-weight: bold ;
|
||||
font-family: sans-serif }
|
||||
|
||||
/* Uncomment (and remove this text!) to get reduced vertical space in
|
||||
compound paragraphs.
|
||||
div.compound .compound-first, div.compound .compound-middle {
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
div.compound .compound-last, div.compound .compound-middle {
|
||||
margin-top: 0.5em }
|
||||
*/
|
||||
|
||||
div.dedication {
|
||||
margin: 2em 5em ;
|
||||
text-align: center ;
|
||||
font-style: italic }
|
||||
|
||||
div.dedication p.topic-title {
|
||||
font-weight: bold ;
|
||||
font-style: normal }
|
||||
|
||||
div.figure {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
div.footer, div.header {
|
||||
clear: both;
|
||||
font-size: smaller }
|
||||
|
||||
div.line-block {
|
||||
display: block ;
|
||||
margin-top: 1em ;
|
||||
margin-bottom: 1em }
|
||||
|
||||
div.line-block div.line-block {
|
||||
margin-top: 0 ;
|
||||
margin-bottom: 0 ;
|
||||
margin-left: 1.5em }
|
||||
|
||||
div.sidebar {
|
||||
margin: 0 0 0.5em 1em ;
|
||||
border: medium outset ;
|
||||
padding: 1em ;
|
||||
background-color: #ffffee ;
|
||||
width: 40% ;
|
||||
float: right ;
|
||||
clear: right }
|
||||
|
||||
div.sidebar p.rubric {
|
||||
font-family: sans-serif ;
|
||||
font-size: medium }
|
||||
|
||||
div.system-messages {
|
||||
margin: 5em }
|
||||
|
||||
div.system-messages h1 {
|
||||
color: red }
|
||||
|
||||
div.system-message {
|
||||
border: medium outset ;
|
||||
padding: 1em }
|
||||
|
||||
div.system-message p.system-message-title {
|
||||
color: red ;
|
||||
font-weight: bold }
|
||||
|
||||
div.topic {
|
||||
margin: 2em }
|
||||
|
||||
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
||||
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
||||
margin-top: 0.4em }
|
||||
|
||||
h1.title {
|
||||
text-align: center }
|
||||
|
||||
h2.subtitle {
|
||||
text-align: center }
|
||||
|
||||
hr.docutils {
|
||||
width: 75% }
|
||||
|
||||
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
||||
clear: left ;
|
||||
float: left ;
|
||||
margin-right: 1em }
|
||||
|
||||
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
||||
clear: right ;
|
||||
float: right ;
|
||||
margin-left: 1em }
|
||||
|
||||
img.align-center, .figure.align-center, object.align-center {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
table.align-center {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.align-left {
|
||||
text-align: left }
|
||||
|
||||
.align-center {
|
||||
clear: both ;
|
||||
text-align: center }
|
||||
|
||||
.align-right {
|
||||
text-align: right }
|
||||
|
||||
/* reset inner alignment in figures */
|
||||
div.align-right {
|
||||
text-align: inherit }
|
||||
|
||||
/* div.align-center * { */
|
||||
/* text-align: left } */
|
||||
|
||||
.align-top {
|
||||
vertical-align: top }
|
||||
|
||||
.align-middle {
|
||||
vertical-align: middle }
|
||||
|
||||
.align-bottom {
|
||||
vertical-align: bottom }
|
||||
|
||||
ol.simple, ul.simple {
|
||||
margin-bottom: 1em }
|
||||
|
||||
ol.arabic {
|
||||
list-style: decimal }
|
||||
|
||||
ol.loweralpha {
|
||||
list-style: lower-alpha }
|
||||
|
||||
ol.upperalpha {
|
||||
list-style: upper-alpha }
|
||||
|
||||
ol.lowerroman {
|
||||
list-style: lower-roman }
|
||||
|
||||
ol.upperroman {
|
||||
list-style: upper-roman }
|
||||
|
||||
p.attribution {
|
||||
text-align: right ;
|
||||
margin-left: 50% }
|
||||
|
||||
p.caption {
|
||||
font-style: italic }
|
||||
|
||||
p.credits {
|
||||
font-style: italic ;
|
||||
font-size: smaller }
|
||||
|
||||
p.label {
|
||||
white-space: nowrap }
|
||||
|
||||
p.rubric {
|
||||
font-weight: bold ;
|
||||
font-size: larger ;
|
||||
color: maroon ;
|
||||
text-align: center }
|
||||
|
||||
p.sidebar-title {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold ;
|
||||
font-size: larger }
|
||||
|
||||
p.sidebar-subtitle {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
p.topic-title {
|
||||
font-weight: bold }
|
||||
|
||||
pre.address {
|
||||
margin-bottom: 0 ;
|
||||
margin-top: 0 ;
|
||||
font: inherit }
|
||||
|
||||
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
||||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: gray; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
||||
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
||||
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
||||
pre.code .inserted, code .inserted { background-color: #A3D289}
|
||||
|
||||
span.classifier {
|
||||
font-family: sans-serif ;
|
||||
font-style: oblique }
|
||||
|
||||
span.classifier-delimiter {
|
||||
font-family: sans-serif ;
|
||||
font-weight: bold }
|
||||
|
||||
span.interpreted {
|
||||
font-family: sans-serif }
|
||||
|
||||
span.option {
|
||||
white-space: nowrap }
|
||||
|
||||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic, pre.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
/* font-size relative to parent (h1..h6 element) */
|
||||
font-size: 80% }
|
||||
|
||||
table.citation {
|
||||
border-left: solid 1px gray;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docinfo {
|
||||
margin: 2em 4em }
|
||||
|
||||
table.docutils {
|
||||
margin-top: 0.5em ;
|
||||
margin-bottom: 0.5em }
|
||||
|
||||
table.footnote {
|
||||
border-left: solid 1px black;
|
||||
margin-left: 1px }
|
||||
|
||||
table.docutils td, table.docutils th,
|
||||
table.docinfo td, table.docinfo th {
|
||||
padding-left: 0.5em ;
|
||||
padding-right: 0.5em ;
|
||||
vertical-align: top }
|
||||
|
||||
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
||||
font-weight: bold ;
|
||||
text-align: left ;
|
||||
white-space: nowrap ;
|
||||
padding-left: 0 }
|
||||
|
||||
/* "booktabs" style (no vertical lines) */
|
||||
table.docutils.booktabs {
|
||||
border: 0px;
|
||||
border-top: 2px solid;
|
||||
border-bottom: 2px solid;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
table.docutils.booktabs * {
|
||||
border: 0px;
|
||||
}
|
||||
table.docutils.booktabs th {
|
||||
border-bottom: thin solid;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
||||
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
||||
font-size: 100% }
|
||||
|
||||
ul.auto-toc {
|
||||
list-style-type: none }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="document" id="sale-delivery-split-date">
|
||||
<h1 class="title">Sale Delivery Split Date</h1>
|
||||
|
||||
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:69652f1972b11818ac88de151e78405313708c3ac7722d9f26939bfa20c21a44
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/sale-workflow/tree/18.0/sale_delivery_split_date"><img alt="OCA/sale-workflow" src="https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_delivery_split_date"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>When this module is installed, each sale order you confirm will generate
|
||||
one delivery order per requested date indicated in the sale order lines.</p>
|
||||
<p>Furthermore, the delivery orders can be searched by selecting the
|
||||
scheduled date, which is now displayed in the delivery tree view.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
<div class="contents local topic" id="contents">
|
||||
<ul class="simple">
|
||||
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-1">Known issues / Roadmap</a></li>
|
||||
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
|
||||
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
|
||||
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
|
||||
<li><a class="reference internal" href="#contributors" id="toc-entry-5">Contributors</a></li>
|
||||
<li><a class="reference internal" href="#maintainers" id="toc-entry-6">Maintainers</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="known-issues-roadmap">
|
||||
<h1><a class="toc-backref" href="#toc-entry-1">Known issues / Roadmap</a></h1>
|
||||
<ul class="simple">
|
||||
<li>Incompatible with
|
||||
<a class="reference external" href="https://github.com/OCA/sale-workflow/tree/12.0/sale_procurement_group_by_commitment_date">sale_procurement_group_by_commitment_date</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="bug-tracker">
|
||||
<h1><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h1>
|
||||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/sale-workflow/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_delivery_split_date%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
<h1><a class="toc-backref" href="#toc-entry-3">Credits</a></h1>
|
||||
<div class="section" id="authors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-4">Authors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Agile Business Group</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="contributors">
|
||||
<h2><a class="toc-backref" href="#toc-entry-5">Contributors</a></h2>
|
||||
<ul class="simple">
|
||||
<li>Alex Comba <<a class="reference external" href="mailto:alex.comba@agilebg.com">alex.comba@agilebg.com</a>> (<a class="reference external" href="https://www.agilebg.com/">https://www.agilebg.com/</a>)</li>
|
||||
<li>Carmen Rondon Regalado <<a class="reference external" href="mailto:crondon@archeti.com">crondon@archeti.com</a>>
|
||||
(<a class="reference external" href="https://odoo.archeti.com/">https://odoo.archeti.com/</a>)</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
</a>
|
||||
<p>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.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/sale-workflow/tree/18.0/sale_delivery_split_date">OCA/sale-workflow</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
3
sale_delivery_split_date/tests/__init__.py
Executable file
3
sale_delivery_split_date/tests/__init__.py
Executable file
@@ -0,0 +1,3 @@
|
||||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import test_sale_delivery
|
||||
213
sale_delivery_split_date/tests/test_sale_delivery.py
Executable file
213
sale_delivery_split_date/tests/test_sale_delivery.py
Executable file
@@ -0,0 +1,213 @@
|
||||
# Copyright 2018 Alex Comba - Agile Business Group
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
import datetime
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
from odoo.tools import format_date
|
||||
|
||||
|
||||
class TestSaleDelivery(TransactionCase):
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
super().setUpClass()
|
||||
cls.env = cls.env(context=dict(cls.env.context, tracking_disable=True))
|
||||
customer = cls.env.ref("base.res_partner_3")
|
||||
p1 = cls.env.ref("product.product_product_16")
|
||||
p2 = cls.env.ref("product.product_product_25")
|
||||
today = datetime.datetime(2020, 1, 1)
|
||||
cls.dt1 = today + datetime.timedelta(days=9)
|
||||
cls.dt2 = today + datetime.timedelta(days=10)
|
||||
cls.date_sooner = cls.dt1
|
||||
cls.date_later = cls.dt2
|
||||
cls.so = cls._create_sale_order(customer)
|
||||
cls.so_line1 = cls._create_sale_order_line(cls.so, p1, 10, 100.0, cls.dt1)
|
||||
cls.so_line2 = cls._create_sale_order_line(cls.so, p2, 10, 200.0, cls.dt1)
|
||||
|
||||
@classmethod
|
||||
def _create_sale_order(cls, customer):
|
||||
return cls.env["sale.order"].create({"partner_id": customer.id})
|
||||
|
||||
@classmethod
|
||||
def _create_sale_order_line(cls, sale, product, qty, price, date):
|
||||
return cls.env["sale.order.line"].create(
|
||||
{
|
||||
"product_id": product.id,
|
||||
"name": "cool product",
|
||||
"order_id": sale.id,
|
||||
"price_unit": price,
|
||||
"product_uom_qty": qty,
|
||||
"commitment_date": date,
|
||||
}
|
||||
)
|
||||
|
||||
def test_check_single_date(self):
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
0,
|
||||
"There must not be pickings for the SO when draft",
|
||||
)
|
||||
self.so.action_confirm()
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
1,
|
||||
"There must be 1 picking for the SO when confirmed",
|
||||
)
|
||||
self.assertEqual(
|
||||
self.so.picking_ids[0].scheduled_date,
|
||||
self.date_sooner,
|
||||
"The picking must be planned at the expected date",
|
||||
)
|
||||
self.assertEqual(
|
||||
self.so_line1.procurement_group_id,
|
||||
self.so_line2.procurement_group_id,
|
||||
"The procurement group must be the same",
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, self.date_sooner.date()),
|
||||
self.so_line1.procurement_group_id.name,
|
||||
)
|
||||
|
||||
def test_check_multiple_dates(self):
|
||||
# Change the date of the second line
|
||||
self.so_line2.commitment_date = self.dt2
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
0,
|
||||
"There must not be pickings for the SO when draft",
|
||||
)
|
||||
self.so.action_confirm()
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
2,
|
||||
"There must be 2 pickings for the SO when confirmed",
|
||||
)
|
||||
sorted_pickings = self.so.picking_ids.sorted(lambda x: x.scheduled_date)
|
||||
self.assertEqual(
|
||||
sorted_pickings[0].scheduled_date,
|
||||
self.date_sooner,
|
||||
"The first picking must be planned at the soonest date",
|
||||
)
|
||||
self.assertEqual(
|
||||
sorted_pickings[1].scheduled_date,
|
||||
self.date_later,
|
||||
"The second picking must be planned at the latest date",
|
||||
)
|
||||
self.assertNotEqual(
|
||||
self.so_line1.procurement_group_id,
|
||||
self.so_line2.procurement_group_id,
|
||||
"The procurement group must be different",
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, self.date_sooner.date()),
|
||||
self.so_line1.procurement_group_id.name,
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, self.date_later.date()),
|
||||
self.so_line2.procurement_group_id.name,
|
||||
)
|
||||
|
||||
def test_check_same_dates(self):
|
||||
# Change the date of the second line by just adding 1 hour
|
||||
same_date = self.dt1 + datetime.timedelta(hours=1)
|
||||
self.so_line2.commitment_date = same_date
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
0,
|
||||
"There must not be pickings for the SO when draft",
|
||||
)
|
||||
self.so.action_confirm()
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
1,
|
||||
"There must be only one picking for the SO when confirmed",
|
||||
)
|
||||
self.assertEqual(
|
||||
self.so.picking_ids.scheduled_date,
|
||||
self.date_sooner,
|
||||
"The picking must be planned at the expected date",
|
||||
)
|
||||
self.assertEqual(
|
||||
self.so_line1.procurement_group_id,
|
||||
self.so_line2.procurement_group_id,
|
||||
"The procurement group must be the same",
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, self.date_sooner.date()),
|
||||
self.so_line1.procurement_group_id.name,
|
||||
)
|
||||
|
||||
def test_security_lead_time_same_dates(self):
|
||||
same_date = self.dt1 + datetime.timedelta(hours=1)
|
||||
self.so_line2.commitment_date = same_date
|
||||
self.so.company_id.security_lead = 2
|
||||
security_date = self.date_sooner - datetime.timedelta(days=2)
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
0,
|
||||
"There must not be pickings for the SO when draft",
|
||||
)
|
||||
self.so.action_confirm()
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
1,
|
||||
"There must be only one picking for the SO when confirmed",
|
||||
)
|
||||
self.assertEqual(
|
||||
self.so.picking_ids.scheduled_date,
|
||||
security_date,
|
||||
"The picking must be planned at the expected date "
|
||||
"(with security lead time)",
|
||||
)
|
||||
self.assertEqual(
|
||||
self.so_line1.procurement_group_id,
|
||||
self.so_line2.procurement_group_id,
|
||||
"The procurement group must be the same",
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, security_date.date()),
|
||||
self.so_line1.procurement_group_id.name,
|
||||
)
|
||||
|
||||
def test_security_lead_time_multiple_dates(self):
|
||||
self.so_line2.commitment_date = self.dt2
|
||||
self.so.company_id.security_lead = 3
|
||||
security_date_sooner = self.date_sooner - datetime.timedelta(days=3)
|
||||
security_date_later = self.date_later - datetime.timedelta(days=3)
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
0,
|
||||
"There must not be pickings for the SO when draft",
|
||||
)
|
||||
self.so.action_confirm()
|
||||
self.assertEqual(
|
||||
len(self.so.picking_ids),
|
||||
2,
|
||||
"There must be 2 pickings for the SO when confirmed",
|
||||
)
|
||||
sorted_pickings = self.so.picking_ids.sorted(lambda x: x.scheduled_date)
|
||||
self.assertEqual(
|
||||
sorted_pickings[0].scheduled_date,
|
||||
security_date_sooner,
|
||||
"The first picking must be planned at the soonest date "
|
||||
"(with security lead time)",
|
||||
)
|
||||
self.assertEqual(
|
||||
sorted_pickings[1].scheduled_date,
|
||||
security_date_later,
|
||||
"The second picking must be planned at the latest date "
|
||||
"(with security lead time)",
|
||||
)
|
||||
self.assertNotEqual(
|
||||
self.so_line1.procurement_group_id,
|
||||
self.so_line2.procurement_group_id,
|
||||
"The procurement group must be different",
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, security_date_sooner.date()),
|
||||
self.so_line1.procurement_group_id.name,
|
||||
)
|
||||
self.assertIn(
|
||||
format_date(self.env, security_date_later.date()),
|
||||
self.so_line2.procurement_group_id.name,
|
||||
)
|
||||
26
sale_delivery_split_date/views/stock_picking.xml
Executable file
26
sale_delivery_split_date/views/stock_picking.xml
Executable file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<!-- Copyright 2018 Alex Comba - Agile Business Group
|
||||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -->
|
||||
<odoo>
|
||||
<record id="vpicktree" model="ir.ui.view">
|
||||
<field name="name">stock.picking.tree</field>
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="inherit_id" ref="stock.vpicktree" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="scheduled_date" position="attributes">
|
||||
<attribute name="invisible">0</attribute>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_picking_internal_search" model="ir.ui.view">
|
||||
<field name="name">stock.picking.internal.search</field>
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="inherit_id" ref="stock.view_picking_internal_search" />
|
||||
<field name="arch" type="xml">
|
||||
<field name="picking_type_id" position="after">
|
||||
<field name="scheduled_date" string="Scheduled Date" />
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user