Skip to content

Commit

Permalink
Merge 52a57db into fd562c9
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Martin committed Jul 23, 2019
2 parents fd562c9 + 52a57db commit 607d431
Show file tree
Hide file tree
Showing 10 changed files with 581 additions and 0 deletions.
84 changes: 84 additions & 0 deletions business_requirement_sale_timesheet/README.rst
@@ -0,0 +1,84 @@
===================================
Business Requirement Sale Timesheet
===================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fbusiness--requirement-lightgray.png?logo=github
:target: https://github.com/OCA/business-requirement/tree/11.0/business_requirement_sale_timesheet
:alt: OCA/business-requirement
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/business-requirement-11-0/business-requirement-11-0-business_requirement_sale_timesheet
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/222/11.0
:alt: Try me on Runbot

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

This module extends the functionality of Business Requirement Sale to allow
you trace Task created from Sales Orders with origin Business Requirement Deliverables.

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/business-requirement/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/business-requirement/issues/new?body=module:%20business_requirement_sale_timesheet%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>`_:

* Pedro M. Baeza
* Victor M.M. Torres

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* Tecnativa

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/business-requirement <https://github.com/OCA/business-requirement/tree/11.0/business_requirement_sale_timesheet>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions business_requirement_sale_timesheet/__init__.py
@@ -0,0 +1,4 @@
# Copyright 2019 Tecnativa Victor M.M. Torres>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import models
19 changes: 19 additions & 0 deletions business_requirement_sale_timesheet/__manifest__.py
@@ -0,0 +1,19 @@
# Copyright 2019 Tecnativa Victor M.M. Torres>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Business Requirement Sale Timesheet",
'category': 'Business Requirements Management',
"version": "11.0.1.0.0",
"website": "https://github.com/OCA/business-requirement",
"author": "Tecnativa, "
"Odoo Community Association (OCA)",
"license": "AGPL-3",
"installable": True,
"depends": [
"business_requirement_sale",
"sale_timesheet",
],
"data": [
'views/project_task.xml',
],
}
4 changes: 4 additions & 0 deletions business_requirement_sale_timesheet/models/__init__.py
@@ -0,0 +1,4 @@
# Copyright 2019 Tecnativa Victor M.M. Torres>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from . import project_task
15 changes: 15 additions & 0 deletions business_requirement_sale_timesheet/models/project_task.py
@@ -0,0 +1,15 @@
# Copyright 2019 Tecnativa Victor M.M. Torres>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

from odoo import fields, models


class ProjectTask(models.Model):
_inherit = 'project.task'

business_requirement_deliverable_id = fields.Many2one(
comodel_name='business.requirement.deliverable',
related='sale_line_id.business_requirement_deliverable_id',
readonly=True,
string='Deliverable',
)
4 changes: 4 additions & 0 deletions business_requirement_sale_timesheet/readme/CONTRIBUTORS.rst
@@ -0,0 +1,4 @@
* `Tecnativa <https://www.tecnativa.com>`_:

* Pedro M. Baeza
* Victor M.M. Torres
3 changes: 3 additions & 0 deletions business_requirement_sale_timesheet/readme/CREDITS.rst
@@ -0,0 +1,3 @@
The development of this module has been financially supported by:

* Tecnativa
2 changes: 2 additions & 0 deletions business_requirement_sale_timesheet/readme/DESCRIPTION.rst
@@ -0,0 +1,2 @@
This module extends the functionality of Business Requirement Sale to allow
you trace Task created from Sales Orders with origin Business Requirement Deliverables.

0 comments on commit 607d431

Please sign in to comment.