Browse Source

[FIX+IMP] contract_sale: Several things:

* README by fragments
* Adjusted dependency
* Changed root menu XML-ID
pull/145/head
Pedro M. Baeza 6 years ago
parent
commit
43959bc754
  1. 72
      contract_sale/README.rst
  2. 2
      contract_sale/__manifest__.py
  3. 6
      contract_sale/readme/CONTRIBUTORS.rst
  4. 5
      contract_sale/readme/DESCRIPTION.rst
  5. 3
      contract_sale/readme/USAGE.rst
  6. 2
      contract_sale/views/account_analytic_account_view.xml

72
contract_sale/README.rst

@ -1,17 +1,41 @@
.. 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 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%2Fcontract-lightgray.png?logo=github
:target: https://github.com/OCA/contract/tree/11.0/contract_sale
:alt: OCA/contract
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/contract-11-0/contract-11-0-contract_sale
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/110/11.0
:alt: Try me on Runbot
|badge1| |badge2| |badge3| |badge4| |badge5|
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.
**Table of contents**
.. contents::
:local:
Usage
=====
@ -19,37 +43,47 @@ Usage
#. 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.
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 smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/contract/issues/new?body=module:%20contract_sale%0Aversion:%2011.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
~~~~~~~
* Tecnativa
Contributors
------------
~~~~~~~~~~~~
* `Tecnativa <https://www.tecnativa.com>`_:
* Luis M. Ontalba
* Pedro M. Baeza
* Luis M. Ontalba <luis.martinez@tecnativa.com>
* Levent Karakaş
Maintainer
----------
Maintainers
~~~~~~~~~~~
This module is maintained by the OCA.
.. 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.
This module is part of the `OCA/contract <https://github.com/OCA/contract/tree/11.0/contract_sale>`_ project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

2
contract_sale/__manifest__.py

@ -9,7 +9,7 @@
'Odoo Community Association (OCA)',
'website': 'https://github.com/OCA/contract',
'depends': [
'sale_management',
'sale',
'contract',
],
'data': [

6
contract_sale/readme/CONTRIBUTORS.rst

@ -0,0 +1,6 @@
* `Tecnativa <https://www.tecnativa.com>`_:
* Luis M. Ontalba
* Pedro M. Baeza
* Levent Karakaş

5
contract_sale/readme/DESCRIPTION.rst

@ -0,0 +1,5 @@
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.

3
contract_sale/readme/USAGE.rst

@ -0,0 +1,3 @@
#. Log with an user having sale but not account permissions.
#. Go to Sales > Sales > Contracts.
#. Create a new record or edit another one.

2
contract_sale/views/account_analytic_account_view.xml

@ -4,7 +4,7 @@
<menuitem
id="menu_contract_sale" name="Contracts"
parent="sale.sale_order_menu"
action="contract.action_account_analytic_overdue_all"
action="contract.action_account_analytic_sale_overdue_all"
sequence="2"
groups="sales_team.group_sale_salesman"
/>

Loading…
Cancel
Save