Skip to content

Commit 5e5fd59

Browse files
committed
Merge PR #39 into 17.0
Signed-off-by hparfr
2 parents dd535af + e495aae commit 5e5fd59

24 files changed

+1269
-0
lines changed

stock_request_analytic/README.rst

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
======================
2+
Stock Request Analytic
3+
======================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:f31e6dc33df21fba3d3247f0a5177cc1b1934ba036cac4e941d1d14a879b4906
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--request-lightgray.png?logo=github
20+
:target: https://github.com/OCA/stock-logistics-request/tree/17.0/stock_request_analytic
21+
:alt: OCA/stock-logistics-request
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/stock-logistics-request-17-0/stock-logistics-request-17-0-stock_request_analytic
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/stock-logistics-request&target_branch=17.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module allows for users to be able to display and assign analytic
32+
accounts to stock requests.
33+
34+
**Table of contents**
35+
36+
.. contents::
37+
:local:
38+
39+
Usage
40+
=====
41+
42+
To create stock moves with a specific analytic distribution, assign an
43+
analytic distribution to each stock request or set an analytic
44+
distribution on the stock request order as a default value for new stock
45+
requests on that order.
46+
47+
Known issues / Roadmap
48+
======================
49+
50+
- Integrate this module with stock_request_purchase to pass the
51+
analytic account to the purchase order
52+
53+
Bug Tracker
54+
===========
55+
56+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-request/issues>`_.
57+
In case of trouble, please check there if your issue has already been reported.
58+
If you spotted it first, help us to smash it by providing a detailed and welcomed
59+
`feedback <https://github.com/OCA/stock-logistics-request/issues/new?body=module:%20stock_request_analytic%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
60+
61+
Do not contact contributors directly about support or help with technical issues.
62+
63+
Credits
64+
=======
65+
66+
Authors
67+
-------
68+
69+
* ForgeFlow
70+
71+
Contributors
72+
------------
73+
74+
- Aaron Henriquez <[email protected]>
75+
- Lois Rilo <[email protected]>
76+
- Pimolnat Suntian <[email protected]>
77+
- Alan Ramos <[email protected]>
78+
- Denis Roussel <[email protected]>
79+
- `Tecnativa <https://www.tecnativa.com>`__:
80+
81+
- João Marques
82+
83+
- Stefan Rijnhart <[email protected]>
84+
85+
Maintainers
86+
-----------
87+
88+
This module is maintained by the OCA.
89+
90+
.. image:: https://odoo-community.org/logo.png
91+
:alt: Odoo Community Association
92+
:target: https://odoo-community.org
93+
94+
OCA, or the Odoo Community Association, is a nonprofit organization whose
95+
mission is to support the collaborative development of Odoo features and
96+
promote its widespread use.
97+
98+
This module is part of the `OCA/stock-logistics-request <https://github.com/OCA/stock-logistics-request/tree/17.0/stock_request_analytic>`_ project on GitHub.
99+
100+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

stock_request_analytic/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2017-2020 ForgeFlow, S.L. (https://www.forgeflow.com)
2+
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).
3+
4+
{
5+
"name": "Stock Request Analytic",
6+
"summary": "Internal request for stock",
7+
"version": "17.0.1.0.0",
8+
"license": "AGPL-3",
9+
"website": "https://github.com/OCA/stock-logistics-request",
10+
"author": "ForgeFlow, Odoo Community Association (OCA)",
11+
"category": "Analytic",
12+
"depends": ["stock_request", "stock_analytic"],
13+
"data": [
14+
"security/ir.model.access.csv",
15+
"views/stock_request_views.xml",
16+
"views/stock_request_order_views.xml",
17+
],
18+
"installable": True,
19+
}

stock_request_analytic/i18n/es.po

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * stock_request_analytic
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-07-27 14:09+0000\n"
10+
"Last-Translator: Ivorra78 <[email protected]>\n"
11+
"Language-Team: none\n"
12+
"Language: es\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: stock_request_analytic
20+
#: model:ir.model,name:stock_request_analytic.model_account_analytic_account
21+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request__analytic_account_id
22+
msgid "Analytic Account"
23+
msgstr "Cuenta analítica"
24+
25+
#. module: stock_request_analytic
26+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_account_ids
27+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.stock_request_order_form
28+
msgid "Analytic Accounts"
29+
msgstr "Cuentas analíticas"
30+
31+
#. module: stock_request_analytic
32+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_count
33+
msgid "Analytic Count"
34+
msgstr "Conteo analítico"
35+
36+
#. module: stock_request_analytic
37+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_tag_count
38+
msgid "Analytic Tag Count"
39+
msgstr "Recuento analítico de etiquetas"
40+
41+
#. module: stock_request_analytic
42+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request__analytic_tag_ids
43+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_tag_ids
44+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.stock_request_order_form
45+
msgid "Analytic Tags"
46+
msgstr "Etiquetas Analíticas"
47+
48+
#. module: stock_request_analytic
49+
#: code:addons/stock_request_analytic/models/stock_request_order.py:0
50+
#, python-format
51+
msgid "Analytic type (analytic_type) not present in the context"
52+
msgstr "Tipo analítico (analytic_type) no presente en el contexto"
53+
54+
#. module: stock_request_analytic
55+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__default_analytic_account_id
56+
msgid "Default Analytic Account"
57+
msgstr "Cuenta Analítica por defecto"
58+
59+
#. module: stock_request_analytic
60+
#: model:ir.model.fields,help:stock_request_analytic.field_stock_request_order__default_analytic_account_id
61+
msgid "Set this if you want to define a default analytic account on requests"
62+
msgstr ""
63+
"Seleccione esta opción si desea definir una cuenta analítica predeterminada "
64+
"para las solicitudes"
65+
66+
#. module: stock_request_analytic
67+
#: model:ir.model,name:stock_request_analytic.model_stock_request
68+
msgid "Stock Request"
69+
msgstr "Solicitud de existencias"
70+
71+
#. module: stock_request_analytic
72+
#: model:ir.model,name:stock_request_analytic.model_stock_request_order
73+
msgid "Stock Request Order"
74+
msgstr "Solicitud de pedido de existencias"
75+
76+
#. module: stock_request_analytic
77+
#: model:ir.model.fields,field_description:stock_request_analytic.field_account_analytic_account__stock_request_ids
78+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.view_account_analytic_account_form
79+
msgid "Stock Requests"
80+
msgstr "Solicitudes de existencias"
81+
82+
#. module: stock_request_analytic
83+
#: model:ir.model,name:stock_request_analytic.model_stock_rule
84+
msgid "Stock Rule"
85+
msgstr "Regla de existencias"

stock_request_analytic/i18n/it.po

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * stock_request_analytic
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 15.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2023-12-18 09:34+0000\n"
10+
"Last-Translator: mymage <[email protected]>\n"
11+
"Language-Team: none\n"
12+
"Language: it\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
17+
"X-Generator: Weblate 4.17\n"
18+
19+
#. module: stock_request_analytic
20+
#: model:ir.model,name:stock_request_analytic.model_account_analytic_account
21+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request__analytic_account_id
22+
msgid "Analytic Account"
23+
msgstr "Conto analitico"
24+
25+
#. module: stock_request_analytic
26+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_account_ids
27+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.stock_request_order_form
28+
msgid "Analytic Accounts"
29+
msgstr "Conti analitici"
30+
31+
#. module: stock_request_analytic
32+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_count
33+
msgid "Analytic Count"
34+
msgstr "Conteggio analitico"
35+
36+
#. module: stock_request_analytic
37+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_tag_count
38+
msgid "Analytic Tag Count"
39+
msgstr "Conteggio etichette analitiche"
40+
41+
#. module: stock_request_analytic
42+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request__analytic_tag_ids
43+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_tag_ids
44+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.stock_request_order_form
45+
msgid "Analytic Tags"
46+
msgstr "Etichette analitiche"
47+
48+
#. module: stock_request_analytic
49+
#: code:addons/stock_request_analytic/models/stock_request_order.py:0
50+
#, python-format
51+
msgid "Analytic type (analytic_type) not present in the context"
52+
msgstr "Tipo analitico (analytic_type) non presente nel context"
53+
54+
#. module: stock_request_analytic
55+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__default_analytic_account_id
56+
msgid "Default Analytic Account"
57+
msgstr "Conto analitico predefinito"
58+
59+
#. module: stock_request_analytic
60+
#: model:ir.model.fields,help:stock_request_analytic.field_stock_request_order__default_analytic_account_id
61+
msgid "Set this if you want to define a default analytic account on requests"
62+
msgstr ""
63+
"Impostare se si vuole definire un conto analitico predefinito nelle richieste"
64+
65+
#. module: stock_request_analytic
66+
#: model:ir.model,name:stock_request_analytic.model_stock_request
67+
msgid "Stock Request"
68+
msgstr "Richiesta di magazzino"
69+
70+
#. module: stock_request_analytic
71+
#: model:ir.model,name:stock_request_analytic.model_stock_request_order
72+
msgid "Stock Request Order"
73+
msgstr "Ordine richiesta di magazzino"
74+
75+
#. module: stock_request_analytic
76+
#: model:ir.model.fields,field_description:stock_request_analytic.field_account_analytic_account__stock_request_ids
77+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.view_account_analytic_account_form
78+
msgid "Stock Requests"
79+
msgstr "Richieste di magazzino"
80+
81+
#. module: stock_request_analytic
82+
#: model:ir.model,name:stock_request_analytic.model_stock_rule
83+
msgid "Stock Rule"
84+
msgstr "Regola di giacenza"
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Translation of Odoo Server.
2+
# This file contains the translation of the following modules:
3+
# * stock_request_analytic
4+
#
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: Odoo Server 12.0\n"
8+
"Report-Msgid-Bugs-To: \n"
9+
"PO-Revision-Date: 2022-02-01 20:33+0000\n"
10+
"Last-Translator: Rodrigo Macedo <[email protected]>\n"
11+
"Language-Team: none\n"
12+
"Language: pt_BR\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: \n"
16+
"Plural-Forms: nplurals=2; plural=n > 1;\n"
17+
"X-Generator: Weblate 4.3.2\n"
18+
19+
#. module: stock_request_analytic
20+
#: model:ir.model,name:stock_request_analytic.model_account_analytic_account
21+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request__analytic_account_id
22+
msgid "Analytic Account"
23+
msgstr "Conta Analítica"
24+
25+
#. module: stock_request_analytic
26+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_account_ids
27+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.stock_request_order_form
28+
msgid "Analytic Accounts"
29+
msgstr "Contas Analíticas"
30+
31+
#. module: stock_request_analytic
32+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_count
33+
msgid "Analytic Count"
34+
msgstr "Contagem Analítica"
35+
36+
#. module: stock_request_analytic
37+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_tag_count
38+
msgid "Analytic Tag Count"
39+
msgstr ""
40+
41+
#. module: stock_request_analytic
42+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request__analytic_tag_ids
43+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__analytic_tag_ids
44+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.stock_request_order_form
45+
msgid "Analytic Tags"
46+
msgstr "Etiquetas Analíticas"
47+
48+
#. module: stock_request_analytic
49+
#: code:addons/stock_request_analytic/models/stock_request_order.py:0
50+
#, python-format
51+
msgid "Analytic type (analytic_type) not present in the context"
52+
msgstr ""
53+
54+
#. module: stock_request_analytic
55+
#: model:ir.model.fields,field_description:stock_request_analytic.field_stock_request_order__default_analytic_account_id
56+
msgid "Default Analytic Account"
57+
msgstr ""
58+
59+
#. module: stock_request_analytic
60+
#: model:ir.model.fields,help:stock_request_analytic.field_stock_request_order__default_analytic_account_id
61+
msgid "Set this if you want to define a default analytic account on requests"
62+
msgstr ""
63+
64+
#. module: stock_request_analytic
65+
#: model:ir.model,name:stock_request_analytic.model_stock_request
66+
msgid "Stock Request"
67+
msgstr "Requisição de Estoque"
68+
69+
#. module: stock_request_analytic
70+
#: model:ir.model,name:stock_request_analytic.model_stock_request_order
71+
msgid "Stock Request Order"
72+
msgstr "Ordens de Requisição de Estoque"
73+
74+
#. module: stock_request_analytic
75+
#: model:ir.model.fields,field_description:stock_request_analytic.field_account_analytic_account__stock_request_ids
76+
#: model_terms:ir.ui.view,arch_db:stock_request_analytic.view_account_analytic_account_form
77+
msgid "Stock Requests"
78+
msgstr "Requisições de Estoque"
79+
80+
#. module: stock_request_analytic
81+
#: model:ir.model,name:stock_request_analytic.model_stock_rule
82+
msgid "Stock Rule"
83+
msgstr "Regras de Estoque"
84+
85+
#, python-format
86+
#~ msgid ""
87+
#~ "You cannot link a analytic account to a stock request that belongs to "
88+
#~ "another company."
89+
#~ msgstr ""
90+
#~ "Você não pode vincular uma conta analítica a uma requisição de estoque "
91+
#~ "que pertence a outra empresa."

0 commit comments

Comments
 (0)