Skip to content

Commit

Permalink
Merge PR #2140 into 14.0
Browse files Browse the repository at this point in the history
Signed-off-by TheMule71
  • Loading branch information
OCA-git-bot committed Mar 19, 2021
2 parents c5f84d5 + e50bf06 commit eab4fbc
Show file tree
Hide file tree
Showing 27 changed files with 1,624 additions and 0 deletions.
107 changes: 107 additions & 0 deletions l10n_it_delivery_note_base/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
===================================
ITA - Documento di trasporto - Base
===================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fl10n--italy-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_delivery_note_base
:alt: OCA/l10n-italy
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-italy-14-0/l10n-italy-14-0-l10n_it_delivery_note_base
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/122/14.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

**English**

This module is base layer.

Within there are principal tables,
so anybody can use it with another modules.


**Italiano**

Questo modulo è un livello base.

All'interno ci sono le tabelle principali,
in modo che chiunque possa usarlo con altri
moduli.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-italy/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/l10n-italy/issues/new?body=module:%20l10n_it_delivery_note_base%0Aversion:%2014.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
~~~~~~~

* Marco Calcagni
* Gianmarco Conte
* Link IT Europe Srl

Contributors
~~~~~~~~~~~~

* Riccardo Bellanova <r.bellanova@apuliasoftware.it>
* Matteo Bilotta <mbilotta@linkeurope.it>
* Giuseppe Borruso <gborruso@dinamicheaziendali.it>
* Marco Calcagni <mcalcagni@dinamicheaziendali.it>
* Marco Colombo <marco.colombo@gmail.com>
* Gianmarco Conte <gconte@dinamicheaziendali.it>
* Letizia Freda <letizia.freda@netfarm.it>
* Andrea Piovesana <andrea.m.piovesana@gmail.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.

.. |maintainer-As400it| image:: https://github.com/As400it.png?size=40px
:target: https://github.com/As400it
:alt: As400it
.. |maintainer-Byloth| image:: https://github.com/Byloth.png?size=40px
:target: https://github.com/Byloth
:alt: Byloth

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-As400it| |maintainer-Byloth|

This module is part of the `OCA/l10n-italy <https://github.com/OCA/l10n-italy/tree/14.0/l10n_it_delivery_note_base>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions l10n_it_delivery_note_base/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
34 changes: 34 additions & 0 deletions l10n_it_delivery_note_base/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2014-2019 Dinamiche Aziendali srl
# (http://www.dinamicheaziendali.it/)
# @author: Marco Calcagni <mcalcagni@dinamicheaziendali.it>
# @author: Gianmarco Conte <gconte@dinamicheaziendali.it>
# Copyright (c) 2019, Link IT Europe Srl
# @author: Matteo Bilotta <mbilotta@linkeurope.it>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
# Copyright 2015 Associazione Odoo Italia (<http://www.odoo-italia.org>)
# noinspection PyStatementEffect
{
"name": "ITA - Documento di trasporto - Base",
"summary": "Crea e gestisce tabelle principali per gestire i DDT",
"author": "Marco Calcagni, Gianmarco Conte, Link IT Europe Srl, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-italy",
"version": "14.0.1.0.0",
"category": "Localization/Italy",
"license": "AGPL-3",
"maintainers": ["As400it", "Byloth"],
"depends": ["base"],
"data": [
"security/ir.model.access.csv",
"data/delivery_note_data.xml",
"security/ir_module_category.xml",
"security/ir_rule.xml",
"security/res_groups.xml",
"security/res_users.xml",
"views/stock_delivery_note_type.xml",
"views/stock_picking_goods_appearance.xml",
"views/stock_picking_transport_condition.xml",
"views/stock_picking_transport_method.xml",
"views/stock_picking_transport_reason.xml",
],
}
104 changes: 104 additions & 0 deletions l10n_it_delivery_note_base/data/delivery_note_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) 2019, Link IT Europe Srl
@author: Matteo Bilotta <mbilotta@linkeurope.it>
-->
<odoo noupdate="1">

<!-- Delivery note sequences -->
<record id="delivery_note_sequence_ddt_incoming" model="ir.sequence">
<field name="name">Incoming DdT sequence</field>
<field name="code">stock.delivery.note.din</field>
<field name="prefix">DIN/</field>
<field name="implementation">no_gap</field>
<field name="padding" eval="5" />
</record>
<record id="delivery_note_sequence_ddt" model="ir.sequence">
<field name="name">Outgoing DdT sequence</field>
<field name="code">stock.delivery.note.ddt</field>
<field name="prefix">DDT/</field>
<field name="implementation">no_gap</field>
<field name="padding" eval="5" />
</record>
<record id="delivery_note_sequence_ddt_internal" model="ir.sequence">
<field name="name">Internal DdT sequence</field>
<field name="code">stock.delivery.note.int</field>
<field name="prefix">INT/</field>
<field name="implementation">no_gap</field>
<field name="padding" eval="5" />
</record>

<!-- Delivery note types -->
<record id="delivery_note_type_incoming_ddt" model="stock.delivery.note.type">
<field name="name">Incoming</field>
<field name="sequence_id" ref="delivery_note_sequence_ddt_incoming" />
<field name="print_prices" eval="False" />
<field name="code">incoming</field>
</record>
<record id="delivery_note_type_ddt" model="stock.delivery.note.type">
<field name="name">Outgoing</field>
<field name="sequence_id" ref="delivery_note_sequence_ddt" />
<field name="print_prices" eval="False" />
<field name="code">outgoing</field>
</record>
<record id="delivery_note_type_priced_ddt" model="stock.delivery.note.type">
<field name="name">Outgoing (with prices)</field>
<field name="sequence_id" ref="delivery_note_sequence_ddt" />
<field name="print_prices" eval="True" />
<field name="code">outgoing</field>
</record>
<record id="delivery_note_type_internal_ddt" model="stock.delivery.note.type">
<field name="name">Internal transfer</field>
<field name="sequence_id" ref="delivery_note_sequence_ddt_internal" />
<field name="print_prices" eval="False" />
<field name="code">internal</field>
</record>

<!-- Conditions of transport -->
<record id="transport_condition_PF" model="stock.picking.transport.condition">
<field name="name">Carriage paid</field>
</record>
<record id="transport_condition_PA" model="stock.picking.transport.condition">
<field name="name">Carriage forward</field>
</record>
<record id="transport_condition_PAF" model="stock.picking.transport.condition">
<field name="name">Charged in invoice</field>
</record>

<!-- Goods appearance -->
<record id="goods_appearance_CAR" model="stock.picking.goods.appearance">
<field name="name">Box</field>
</record>
<record id="goods_appearance_BAN" model="stock.picking.goods.appearance">
<field name="name">Pallet</field>
</record>
<record id="goods_appearance_SFU" model="stock.picking.goods.appearance">
<field name="name">Bulk</field>
</record>
<record id="goods_appearance_CBA" model="stock.picking.goods.appearance">
<field name="name">Box / Pallet</field>
</record>

<!-- Reasons of transport -->
<record id="transport_reason_VEN" model="stock.picking.transport.reason">
<field name="name">Sale</field>
</record>
<record id="transport_reason_VIS" model="stock.picking.transport.reason">
<field name="name">Goods on approval</field>
</record>
<record id="transport_reason_RES" model="stock.picking.transport.reason">
<field name="name">Returned</field>
</record>

<!-- Methods of transport -->
<record id="transport_method_MIT" model="stock.picking.transport.method">
<field name="name">Sender</field>
</record>
<record id="transport_method_DES" model="stock.picking.transport.method">
<field name="name">Recipient</field>
</record>
<record id="transport_method_COR" model="stock.picking.transport.method">
<field name="name">Carrier</field>
</record>

</odoo>
Loading

0 comments on commit eab4fbc

Please sign in to comment.