-
-
Notifications
You must be signed in to change notification settings - Fork 369
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by dreispt
- Loading branch information
Showing
58 changed files
with
3,104 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
================ | ||
Product Analytic | ||
================ | ||
|
||
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||
!! 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--analytic-lightgray.png?logo=github | ||
:target: https://github.com/OCA/account-analytic/tree/14.0/product_analytic | ||
:alt: OCA/account-analytic | ||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png | ||
:target: https://translation.odoo-community.org/projects/account-analytic-14-0/account-analytic-14-0-product_analytic | ||
:alt: Translate me on Weblate | ||
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png | ||
:target: https://runbot.odoo-community.org/runbot/87/14.0 | ||
:alt: Try me on Runbot | ||
|
||
|badge1| |badge2| |badge3| |badge4| |badge5| | ||
|
||
This module allows to define an analytic account at product or category level | ||
for using it when creating invoices. | ||
|
||
This module is an alternative to the official module | ||
*account_analytic_default*. The advantages of this module are: | ||
|
||
* it only depends on the *account* module, whereas the | ||
*account_analytic_default* module depends on *sale_stock* ; | ||
|
||
* the analytic account is configured on the product form or the product | ||
category form, and not on a separate object. | ||
|
||
**Table of contents** | ||
|
||
.. contents:: | ||
:local: | ||
|
||
Usage | ||
===== | ||
|
||
This module allows you to configure an **income analytic account** and an | ||
**expense analytic account** on products and on product categories. When you | ||
select the product in an invoice line, it will check if this product has an | ||
income analytic account (for customer invoice/refunds) or an expense analytic | ||
account (for supplier invoice/refunds) ; if it doesn't find any, it checks if | ||
the category of the product has an income or expense analytic account ; if an | ||
analytic account is found, it will be set by default on the invoice line. | ||
|
||
Changelog | ||
========= | ||
|
||
13.0.1.0.0 (2020-01-08) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Migrated to odoo 13. | ||
|
||
12.0.1.0.0 (2019-05-26) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Migrated to odoo 12. | ||
|
||
11.0.1.0.0 (2018-05-18) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Migrated to odoo 11. | ||
|
||
10.0.1.0.1 (2017-07-18) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
[ADD] Demo data and feature to set analytic account for products. | ||
|
||
10.0.1.0.0 (2017-06-13) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
Migrated to odoo 10. | ||
|
||
8.0.1.0.2 (2016-12-03) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
[FIX] Travis errors. | ||
|
||
8.0.1.0.1 (2016-01-05) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
[IMP] Analytic account creating invoice lines. | ||
|
||
8.0.1.0.0 (2015-11-30) | ||
~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
First version. | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-analytic/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-analytic/issues/new?body=module:%20product_analytic%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 | ||
~~~~~~~ | ||
|
||
* Akretion | ||
* Tecnativa | ||
|
||
Contributors | ||
~~~~~~~~~~~~ | ||
|
||
* Alexis de Lattre <[email protected]> | ||
* Javier Iniesta <[email protected]> | ||
* Luis M. Ontalba <[email protected]> | ||
* David Vidal <[email protected]> | ||
* Thore Baden | ||
* Pimolnat Suntian <[email protected]> | ||
* Reyes4711 | ||
* Denis Roussel <[email protected]> | ||
|
||
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-analytic <https://github.com/OCA/account-analytic/tree/14.0/product_analytic>`_ project on GitHub. | ||
|
||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Copyright 2015 Akretion (http://www.akretion.com/) - Alexis de Lattre | ||
# Copyright 2016 Antiun Ingeniería S.L. - Javier Iniesta | ||
# Copyright 2017 Tecnativa - Luis Martínez | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). | ||
|
||
{ | ||
"name": "Product Analytic", | ||
"version": "15.0.1.0.0", | ||
"category": "Accounting & Finance", | ||
"license": "AGPL-3", | ||
"summary": "Add analytic account on products and product categories", | ||
"author": "Akretion, Tecnativa, Odoo Community Association (OCA)", | ||
"website": "https://github.com/OCA/account-analytic", | ||
"depends": ["account"], | ||
"data": ["views/product_view.xml"], | ||
"demo": ["demo/product_demo.xml"], | ||
"installable": True, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright 2017 Akretion (Alexis de Lattre <[email protected]>) | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
--> | ||
<odoo noupdate="1"> | ||
<record id="product.product_product_1" model="product.product"> | ||
<field | ||
name="income_analytic_account_id" | ||
ref="analytic.analytic_our_super_product" | ||
/> | ||
<field | ||
name="expense_analytic_account_id" | ||
ref="analytic.analytic_our_super_product" | ||
/> | ||
</record> | ||
<record id="product.product_product_3" model="product.product"> | ||
<field | ||
name="income_analytic_account_id" | ||
ref="analytic.analytic_integration_c2c" | ||
/> | ||
<field name="expense_analytic_account_id" ref="analytic.analytic_agrolait" /> | ||
</record> | ||
<record id="product.product_delivery_01" model="product.product"> | ||
<field | ||
name="income_analytic_account_id" | ||
ref="analytic.analytic_our_super_product" | ||
/> | ||
<field | ||
name="expense_analytic_account_id" | ||
ref="analytic.analytic_our_super_product" | ||
/> | ||
</record> | ||
<record id="product.product_product_10" model="product.product"> | ||
<field name="income_analytic_account_id" ref="analytic.analytic_seagate_p2" /> | ||
<field name="expense_analytic_account_id" ref="analytic.analytic_seagate_p2" /> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_analytic | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-06-21 02:40+0000\n" | ||
"PO-Revision-Date: 2018-09-22 15:16+0000\n" | ||
"Last-Translator: yaseentai <[email protected]>\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 ? 4 : 5;\n" | ||
"X-Generator: Weblate 3.1.1\n" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_category__expense_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_product__expense_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_template__expense_analytic_account_id | ||
msgid "Expense Analytic Account" | ||
msgstr "حساب المنصرفات التحليلي" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_category__income_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_product__income_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_template__income_analytic_account_id | ||
msgid "Income Analytic Account" | ||
msgstr "حساب الدخل التحليلي" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_account_move_line | ||
msgid "Journal Item" | ||
msgstr "" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_product_category | ||
msgid "Product Category" | ||
msgstr "فئة المنتج" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_product_template | ||
msgid "Product Template" | ||
msgstr "قالب المنتج" | ||
|
||
#~ msgid "Invoice Line" | ||
#~ msgstr "خط الفاتورة" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_analytic | ||
# | ||
# Translators: | ||
# OCA Transbot <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 10.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-06-21 02:40+0000\n" | ||
"PO-Revision-Date: 2017-06-21 02:40+0000\n" | ||
"Last-Translator: OCA Transbot <[email protected]>, 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: product_analytic | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_category__expense_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_product__expense_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_template__expense_analytic_account_id | ||
msgid "Expense Analytic Account" | ||
msgstr "" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_category__income_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_product__income_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_template__income_analytic_account_id | ||
msgid "Income Analytic Account" | ||
msgstr "" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_account_move_line | ||
msgid "Journal Item" | ||
msgstr "" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_product_category | ||
msgid "Product Category" | ||
msgstr "" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_product_template | ||
msgid "Product Template" | ||
msgstr "" | ||
|
||
#~ msgid "Invoice Line" | ||
#~ msgstr "Stavka fakture" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Translation of Odoo Server. | ||
# This file contains the translation of the following modules: | ||
# * product_analytic | ||
# | ||
# Translators: | ||
# Carles Antoli <[email protected]>, 2017 | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: Odoo Server 8.0\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2017-01-13 23:06+0000\n" | ||
"PO-Revision-Date: 2021-03-26 18:46+0000\n" | ||
"Last-Translator: eduardgm <[email protected]>\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" | ||
"X-Generator: Weblate 4.3.2\n" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_category__expense_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_product__expense_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_template__expense_analytic_account_id | ||
msgid "Expense Analytic Account" | ||
msgstr "Compte analític per a despeses" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_category__income_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_product__income_analytic_account_id | ||
#: model:ir.model.fields,field_description:product_analytic.field_product_template__income_analytic_account_id | ||
msgid "Income Analytic Account" | ||
msgstr "Compte analític per a ingressos" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_account_move_line | ||
msgid "Journal Item" | ||
msgstr "Assentament Comptable" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_product_category | ||
msgid "Product Category" | ||
msgstr "Categoria de producte" | ||
|
||
#. module: product_analytic | ||
#: model:ir.model,name:product_analytic.model_product_template | ||
msgid "Product Template" | ||
msgstr "Plantilla del producte" | ||
|
||
#~ msgid "Invoice Line" | ||
#~ msgstr "Línia factura" |
Oops, something went wrong.