Skip to content

Commit

Permalink
Merge PR #921 into 13.0
Browse files Browse the repository at this point in the history
Signed-off-by AaronHForgeFlow
  • Loading branch information
OCA-git-bot committed Dec 30, 2019
2 parents 4cca7cb + f9b8191 commit 2f106bb
Show file tree
Hide file tree
Showing 63 changed files with 3,395 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .isort.cfg
Expand Up @@ -9,4 +9,4 @@ line_length=88
known_odoo=odoo
known_odoo_addons=odoo.addons
sections=FUTURE,STDLIB,THIRDPARTY,ODOO,ODOO_ADDONS,FIRSTPARTY,LOCALFOLDER
known_third_party=
known_third_party=setuptools
87 changes: 87 additions & 0 deletions account_move_line_purchase_info/README.rst
@@ -0,0 +1,87 @@
===============================
Account Move Line Purchase Info
===============================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Faccount--financial--tools-lightgray.png?logo=github
:target: https://github.com/OCA/account-financial-tools/tree/13.0/account_move_line_purchase_info
:alt: OCA/account-financial-tools
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_line_purchase_info
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/92/13.0
:alt: Try me on Runbot

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

This module will add the purchase order line to journal items.

The ultimate goal is to establish the purchase order line as one of the key
fields to reconcile the Goods Received Not Invoiced accrual account.

**Table of contents**

.. contents::
:local:

Usage
=====

The purchase order line will be automatically copied to the journal items.

* When a supplier invoice is created referencing purchase orders, the
purchase order line will be copied to the corresponding journal item.

* When a stock move is validated and generates a journal entry, the purchase
order line is copied to the account move line.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-tools/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/account-financial-tools/issues/new?body=module:%20account_move_line_purchase_info%0Aversion:%2013.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
~~~~~~~

* ForgeFlow

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

* Jordi Ballester Alomar <jordi.ballester@forgeflow.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/account-financial-tools <https://github.com/OCA/account-financial-tools/tree/13.0/account_move_line_purchase_info>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions account_move_line_purchase_info/__init__.py
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
16 changes: 16 additions & 0 deletions account_move_line_purchase_info/__manifest__.py
@@ -0,0 +1,16 @@
# Copyright 2019 ForgeFlow S.L.
# (https://www.forgeflow.com)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Account Move Line Purchase Info",
"summary": "Introduces the purchase order line to the journal items",
"version": "13.0.1.0.0",
"author": "ForgeFlow, Odoo Community Association (OCA)",
"website": "https://www.github.com/OCA/account-financial-tools",
"category": "Generic",
"depends": ["purchase_stock"],
"license": "AGPL-3",
"data": ["security/account_security.xml", "views/account_move_view.xml"],
"installable": True,
}
@@ -0,0 +1,48 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_purchase_info
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.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: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_invoice
msgid "Invoice"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_purchase_order_line
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_line_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order Line"
msgstr ""

#. module: account_move_line_purchase_info
#: model:res.groups,name:account_move_line_purchase_info.group_account_move_purchase_info
msgid "Purchase info in Journal Items"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_stock_move
msgid "Stock Move"
msgstr ""

53 changes: 53 additions & 0 deletions account_move_line_purchase_info/i18n/ar.po
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_purchase_info
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 04:03+0000\n"
"PO-Revision-Date: 2017-03-01 04:03+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_invoice
msgid "Invoice"
msgstr "فاتورة"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_purchase_order_line
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_line_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order Line"
msgstr ""

#. module: account_move_line_purchase_info
#: model:res.groups,name:account_move_line_purchase_info.group_account_move_purchase_info
msgid "Purchase info in Journal Items"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_stock_move
msgid "Stock Move"
msgstr ""
52 changes: 52 additions & 0 deletions account_move_line_purchase_info/i18n/bg.po
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_purchase_info
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 04:03+0000\n"
"PO-Revision-Date: 2017-03-01 04:03+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n"
"Language: bg\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"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_invoice
msgid "Invoice"
msgstr "Фактура"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_purchase_order_line
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_line_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order Line"
msgstr ""

#. module: account_move_line_purchase_info
#: model:res.groups,name:account_move_line_purchase_info.group_account_move_purchase_info
msgid "Purchase info in Journal Items"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_stock_move
msgid "Stock Move"
msgstr ""
53 changes: 53 additions & 0 deletions account_move_line_purchase_info/i18n/bs.po
@@ -0,0 +1,53 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_purchase_info
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 04:03+0000\n"
"PO-Revision-Date: 2017-03-01 04:03+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Bosnian (https://www.transifex.com/oca/teams/23907/bs/)\n"
"Language: bs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_invoice
msgid "Invoice"
msgstr "Faktura"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_purchase_order_line
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_line_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order Line"
msgstr ""

#. module: account_move_line_purchase_info
#: model:res.groups,name:account_move_line_purchase_info.group_account_move_purchase_info
msgid "Purchase info in Journal Items"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_stock_move
msgid "Stock Move"
msgstr ""
52 changes: 52 additions & 0 deletions account_move_line_purchase_info/i18n/ca.po
@@ -0,0 +1,52 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_purchase_info
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2017
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 04:03+0000\n"
"PO-Revision-Date: 2017-03-01 04:03+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\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"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_invoice
msgid "Invoice"
msgstr "Factura"

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_account_move_line
msgid "Journal Item"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_purchase_order_line
#: model:ir.model.fields,field_description:account_move_line_purchase_info.field_account_move_line__purchase_line_id
#: model_terms:ir.ui.view,arch_db:account_move_line_purchase_info.view_account_move_line_filter
msgid "Purchase Order Line"
msgstr ""

#. module: account_move_line_purchase_info
#: model:res.groups,name:account_move_line_purchase_info.group_account_move_purchase_info
msgid "Purchase info in Journal Items"
msgstr ""

#. module: account_move_line_purchase_info
#: model:ir.model,name:account_move_line_purchase_info.model_stock_move
msgid "Stock Move"
msgstr ""

0 comments on commit 2f106bb

Please sign in to comment.