mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[ADD] contract_sale (#104)
This commit is contained in:
committed by
Christopher Rogos
parent
04a1c1b23b
commit
c557ad5300
55
contract_sale/README.rst
Normal file
55
contract_sale/README.rst
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
|
||||||
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||||
|
:alt: License: AGPL-3
|
||||||
|
|
||||||
|
==================
|
||||||
|
Contract from Sale
|
||||||
|
==================
|
||||||
|
|
||||||
|
This module allows access to contracts for sale employees without account
|
||||||
|
permissions.
|
||||||
|
|
||||||
|
Employees in sale security group "User: Only Own Documents", can only access
|
||||||
|
contracts created by themselves.
|
||||||
|
|
||||||
|
Usage
|
||||||
|
=====
|
||||||
|
|
||||||
|
#. Log with an user having sale but not account permissions.
|
||||||
|
#. Go to Sales > Sales > Contracts.
|
||||||
|
#. Create a new record or edit another one.
|
||||||
|
|
||||||
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||||
|
:alt: Try me on Runbot
|
||||||
|
:target: https://runbot.odoo-community.org/runbot/110/10.0
|
||||||
|
|
||||||
|
Bug Tracker
|
||||||
|
===========
|
||||||
|
|
||||||
|
Bugs are tracked on `GitHub Issues
|
||||||
|
<https://github.com/OCA/contract/issues>`_. In case of trouble, please
|
||||||
|
check there if your issue has already been reported. If you spotted it first,
|
||||||
|
help us smash it by providing detailed and welcomed feedback.
|
||||||
|
|
||||||
|
Credits
|
||||||
|
=======
|
||||||
|
|
||||||
|
Contributors
|
||||||
|
------------
|
||||||
|
|
||||||
|
* Luis M. Ontalba <luis.martinez@tecnativa.com>
|
||||||
|
|
||||||
|
Maintainer
|
||||||
|
----------
|
||||||
|
|
||||||
|
.. image:: https://odoo-community.org/logo.png
|
||||||
|
:alt: Odoo Community Association
|
||||||
|
:target: https://odoo-community.org
|
||||||
|
|
||||||
|
This module is maintained by the OCA.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
To contribute to this module, please visit https://odoo-community.org.
|
||||||
2
contract_sale/__init__.py
Normal file
2
contract_sale/__init__.py
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||||
24
contract_sale/__manifest__.py
Normal file
24
contract_sale/__manifest__.py
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Copyright 2017 Tecnativa - Luis M. Ontalba
|
||||||
|
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html
|
||||||
|
|
||||||
|
{
|
||||||
|
'name': 'Contract from Sale',
|
||||||
|
'version': '10.0.1.0.0',
|
||||||
|
'category': 'Sales',
|
||||||
|
'author': 'Tecnativa, '
|
||||||
|
'Odoo Community Association (OCA)',
|
||||||
|
'website': 'https://github.com/OCA/contract',
|
||||||
|
'depends': [
|
||||||
|
'sales_team',
|
||||||
|
'contract',
|
||||||
|
],
|
||||||
|
'data': [
|
||||||
|
'security/ir.model.access.csv',
|
||||||
|
'security/account_analytic_account_security.xml',
|
||||||
|
'views/account_analytic_account_view.xml',
|
||||||
|
],
|
||||||
|
'license': 'AGPL-3',
|
||||||
|
'installable': True,
|
||||||
|
'auto_install': True,
|
||||||
|
}
|
||||||
24
contract_sale/i18n/de.po
Normal file
24
contract_sale/i18n/de.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||||
|
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: de\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Verträge"
|
||||||
22
contract_sale/i18n/es.po
Normal file
22
contract_sale/i18n/es.po
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-10-12 10:50+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-10-12 10:50+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: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contratos"
|
||||||
|
|
||||||
24
contract_sale/i18n/fr.po
Normal file
24
contract_sale/i18n/fr.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# leemannd <denis.leemann@camptocamp.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: leemannd <denis.leemann@camptocamp.com>, 2017\n"
|
||||||
|
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: fr\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contrats"
|
||||||
24
contract_sale/i18n/hi_IN.po
Normal file
24
contract_sale/i18n/hi_IN.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Ashish Deshmukh <ashish.p.deshmukh@gmail.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Ashish Deshmukh <ashish.p.deshmukh@gmail.com>, 2017\n"
|
||||||
|
"Language-Team: Hindi (India) (https://www.transifex.com/oca/teams/23907/hi_IN/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: hi_IN\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "अनुबंध"
|
||||||
24
contract_sale/i18n/hr.po
Normal file
24
contract_sale/i18n/hr.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Bole <bole@dajmi5.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Bole <bole@dajmi5.com>, 2017\n"
|
||||||
|
"Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: hr\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: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Ugovori"
|
||||||
24
contract_sale/i18n/hr_HR.po
Normal file
24
contract_sale/i18n/hr_HR.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# OCA Transbot <transbot@odoo-community.org>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2017\n"
|
||||||
|
"Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/hr_HR/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: hr_HR\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: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Ugovori"
|
||||||
24
contract_sale/i18n/it.po
Normal file
24
contract_sale/i18n/it.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Lorenzo Battistini <lorenzo.battistini@agilebg.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Lorenzo Battistini <lorenzo.battistini@agilebg.com>, 2017\n"
|
||||||
|
"Language-Team: Italian (https://www.transifex.com/oca/teams/23907/it/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: it\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contratti"
|
||||||
24
contract_sale/i18n/nl.po
Normal file
24
contract_sale/i18n/nl.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Erwin van der Ploeg <erwin@odooexperts.nl>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Erwin van der Ploeg <erwin@odooexperts.nl>, 2017\n"
|
||||||
|
"Language-Team: Dutch (https://www.transifex.com/oca/teams/23907/nl/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: nl\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contracten"
|
||||||
24
contract_sale/i18n/nl_NL.po
Normal file
24
contract_sale/i18n/nl_NL.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Peter Hageman <hageman.p@gmail.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Peter Hageman <hageman.p@gmail.com>, 2017\n"
|
||||||
|
"Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/teams/23907/nl_NL/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: nl_NL\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contracten"
|
||||||
24
contract_sale/i18n/pt.po
Normal file
24
contract_sale/i18n/pt.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Pedro Castro Silva <inactive+pcs.sossia@transifex.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Pedro Castro Silva <inactive+pcs.sossia@transifex.com>, 2017\n"
|
||||||
|
"Language-Team: Portuguese (https://www.transifex.com/oca/teams/23907/pt/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: pt\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contratos"
|
||||||
24
contract_sale/i18n/pt_BR.po
Normal file
24
contract_sale/i18n/pt_BR.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Albert Vonpupp <vonpupp@gmail.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Albert Vonpupp <vonpupp@gmail.com>, 2017\n"
|
||||||
|
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/teams/23907/pt_BR/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: pt_BR\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contratos"
|
||||||
24
contract_sale/i18n/ro.po
Normal file
24
contract_sale/i18n/ro.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Dorin Hongu <dhongu@gmail.com>, 2018
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2018-01-06 03:17+0000\n"
|
||||||
|
"PO-Revision-Date: 2018-01-06 03:17+0000\n"
|
||||||
|
"Last-Translator: Dorin Hongu <dhongu@gmail.com>, 2018\n"
|
||||||
|
"Language-Team: Romanian (https://www.transifex.com/oca/teams/23907/ro/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: ro\n"
|
||||||
|
"Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Contracte"
|
||||||
24
contract_sale/i18n/ru.po
Normal file
24
contract_sale/i18n/ru.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Мед Ведь <p060t@list.ru>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Мед Ведь <p060t@list.ru>, 2017\n"
|
||||||
|
"Language-Team: Russian (https://www.transifex.com/oca/teams/23907/ru/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: ru\n"
|
||||||
|
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Договоры"
|
||||||
24
contract_sale/i18n/tr.po
Normal file
24
contract_sale/i18n/tr.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Ediz Duman <neps1192@gmail.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Ediz Duman <neps1192@gmail.com>, 2017\n"
|
||||||
|
"Language-Team: Turkish (https://www.transifex.com/oca/teams/23907/tr/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: tr\n"
|
||||||
|
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Sözleşmeler"
|
||||||
24
contract_sale/i18n/tr_TR.po
Normal file
24
contract_sale/i18n/tr_TR.po
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
# Translation of Odoo Server.
|
||||||
|
# This file contains the translation of the following modules:
|
||||||
|
# * contract_sale
|
||||||
|
#
|
||||||
|
# Translators:
|
||||||
|
# Ediz Duman <neps1192@gmail.com>, 2017
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: Odoo Server 10.0\n"
|
||||||
|
"Report-Msgid-Bugs-To: \n"
|
||||||
|
"POT-Creation-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"PO-Revision-Date: 2017-11-30 01:41+0000\n"
|
||||||
|
"Last-Translator: Ediz Duman <neps1192@gmail.com>, 2017\n"
|
||||||
|
"Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/tr_TR/)\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: \n"
|
||||||
|
"Language: tr_TR\n"
|
||||||
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
|
|
||||||
|
#. module: contract_sale
|
||||||
|
#: model:ir.ui.menu,name:contract_sale.menu_contract_sale
|
||||||
|
msgid "Contracts"
|
||||||
|
msgstr "Sözleşmeler"
|
||||||
20
contract_sale/security/account_analytic_account_security.xml
Normal file
20
contract_sale/security/account_analytic_account_security.xml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo noupdate="1">
|
||||||
|
|
||||||
|
<record id="account_analytic_account_own_salesman" model="ir.rule">
|
||||||
|
<field name="name">See Own Contracts</field>
|
||||||
|
<field name="model_id" ref="analytic.model_account_analytic_account"/>
|
||||||
|
<field name="domain_force">['|', ('user_id','=',user.id), ('user_id','=',False)]</field>
|
||||||
|
<field name="groups" eval="[(4,ref('sales_team.group_sale_salesman'))]"/>
|
||||||
|
</record>
|
||||||
|
<record id="account_analytic_account_see_all" model="ir.rule">
|
||||||
|
<field name="name">See All Contracts</field>
|
||||||
|
<field name="model_id" ref="analytic.model_account_analytic_account"/>
|
||||||
|
<field name="domain_force">[(1,'=',1)]</field>
|
||||||
|
<field name="groups" eval="[
|
||||||
|
(4,ref('sales_team.group_sale_salesman_all_leads')),
|
||||||
|
(4,ref('account.group_account_invoice'))]"/>
|
||||||
|
|
||||||
|
</record>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
12
contract_sale/security/ir.model.access.csv
Normal file
12
contract_sale/security/ir.model.access.csv
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
|
||||||
|
"account_analytic_contract_salesman","Recurring Salesman","contract.model_account_analytic_contract","sales_team.group_sale_salesman",1,1,1,0
|
||||||
|
"account_analytic_contract_sale_manager","Recurring Sale Manager","contract.model_account_analytic_contract","sales_team.group_sale_manager",1,1,1,1
|
||||||
|
"account_analytic_invoice_line_saleman","Recurring Invoice Line Saleman","contract.model_account_analytic_invoice_line","sales_team.group_sale_salesman",1,1,1,0
|
||||||
|
"account_analytic_invoice_line_manager","Recurring Invoice Line Manager","contract.model_account_analytic_invoice_line","sales_team.group_sale_manager",1,1,1,1
|
||||||
|
"account_analytic_contract_line_salesman","Recurring Contract Line Salesman","contract.model_account_analytic_contract_line","sales_team.group_sale_salesman",1,1,1,0
|
||||||
|
"account_analytic_contract_line_manager","Recurring Contract Line Manager","contract.model_account_analytic_contract_line","sales_team.group_sale_manager",1,1,1,1
|
||||||
|
"account_analytic_line_contract_salesman","Recurring Analytic Line Salesman","analytic.model_account_analytic_line","sales_team.group_sale_salesman",1,1,1,0
|
||||||
|
"account_analytic_account_contract_salesman","Recurring Analytic Account Salesman","analytic.model_account_analytic_account","sales_team.group_sale_salesman",1,1,1,0
|
||||||
|
"account_analytic_tag_contract_salesman","Recurring Account Analytic Tag Salesman","analytic.model_account_analytic_tag","sales_team.group_sale_salesman",1,1,1,0
|
||||||
|
"account_invoice_contract_salesman","Recurring Account Inoice Salesman","account.model_account_invoice","sales_team.group_sale_salesman",1,0,0,0
|
||||||
|
"account_journal_contract_salesman","Recurring Account Journal Salesman","account.model_account_journal","sales_team.group_sale_salesman",1,0,0,0
|
||||||
|
BIN
contract_sale/static/description/icon.png
Normal file
BIN
contract_sale/static/description/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.2 KiB |
11
contract_sale/views/account_analytic_account_view.xml
Normal file
11
contract_sale/views/account_analytic_account_view.xml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<odoo>
|
||||||
|
|
||||||
|
<menuitem
|
||||||
|
id="menu_contract_sale" name="Contracts"
|
||||||
|
parent="sales_team.menu_sales"
|
||||||
|
action="contract.action_account_analytic_overdue_all"
|
||||||
|
sequence="150"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</odoo>
|
||||||
Reference in New Issue
Block a user