Skip to content

Commit

Permalink
[ADD] module to put ddt info in picking
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiocorato committed Nov 28, 2023
1 parent 883e38f commit 4727b2a
Show file tree
Hide file tree
Showing 13 changed files with 606 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/stock_picking_ddt_info/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
60 changes: 60 additions & 0 deletions stock_picking_ddt_info/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
=======================
Add DDT info to picking
=======================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:1feb5e04d523acbbe86a62edb10c2ddd05a2e1061cfbe36ab2a23246022a353c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-sergiocorato%2Fe--account-lightgray.png?logo=github
:target: https://github.com/sergiocorato/e-account/tree/14.0/stock_picking_ddt_info
:alt: sergiocorato/e-account

|badge1| |badge2| |badge3|

This module add supplier ddt info to picking.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/sergiocorato/e-account/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/sergiocorato/e-account/issues/new?body=module:%20stock_picking_ddt_info%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
~~~~~~~

* Sergio Corato

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

* Sergio Corato <https://github.com/sergiocorato>

Maintainers
~~~~~~~~~~~

This module is part of the `sergiocorato/e-account <https://github.com/sergiocorato/e-account/tree/14.0/stock_picking_ddt_info>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions stock_picking_ddt_info/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions stock_picking_ddt_info/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2023 Sergio Corato <https://github.com/sergiocorato>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Add DDT vendor info to incoming picking",
"version": "14.0.1.0.0",
"category": "Stock Management",
"license": "AGPL-3",
"author": "Sergio Corato",
"website": "https://github.com/sergiocorato/e-account",
"depends": [
"stock",
],
"data": [
"views/stock.xml",
],
"installable": True,
}
61 changes: 61 additions & 0 deletions stock_picking_ddt_info/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_invoice_discount_update
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-14 08:47+0000\n"
"PO-Revision-Date: 2023-09-14 08:47+0000\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: account_invoice_discount_update
#: model_terms:ir.ui.view,arch_db:account_invoice_discount_update.invoice_form_update_discount
msgid "Apply"
msgstr "Esegui"

#. module: account_invoice_discount_update
#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_bank_statement_line__discount
#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move__discount
#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_payment__discount
msgid "Discount"
msgstr "Sconto"

#. module: account_invoice_discount_update
#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: account_invoice_discount_update
#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move__id
msgid "ID"
msgstr ""

#. module: account_invoice_discount_update
#: model:ir.model,name:account_invoice_discount_update.model_account_move
msgid "Journal Entry"
msgstr "Registrazione contabile"

#. module: account_invoice_discount_update
#: model:ir.model.fields,field_description:account_invoice_discount_update.field_account_move____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: account_invoice_discount_update
#: model_terms:ir.ui.view,arch_db:account_invoice_discount_update.invoice_form_update_discount
msgid ""
"Update discount in invoice line of type product and consumable to % input."
msgstr ""
"Aggiorna lo sconto nelle righe fattura di tipo prodotto o consumabile alla %"
" indicata."

#. module: account_invoice_discount_update
#: model_terms:ir.ui.view,arch_db:account_invoice_discount_update.invoice_form_update_discount
msgid "Update to new discount"
msgstr "Aggiorna al nuovo sconto"
1 change: 1 addition & 0 deletions stock_picking_ddt_info/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import stock_picking
10 changes: 10 additions & 0 deletions stock_picking_ddt_info/models/stock_picking.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Copyright 2023 Sergio Corato <https://github.com/sergiocorato>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models


class StockPicking(models.Model):
_inherit = 'stock.picking'

ddt_supplier_number = fields.Char(string='Supplier TD Number', copy=False)
ddt_supplier_date = fields.Date(string='Supplier TD Date', copy=False)
1 change: 1 addition & 0 deletions stock_picking_ddt_info/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Sergio Corato <https://github.com/sergiocorato>
1 change: 1 addition & 0 deletions stock_picking_ddt_info/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module add supplier ddt info to picking.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 4727b2a

Please sign in to comment.