Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions purchase_requisition_line_menu/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
==============================
Purchase Requisition Line Menu
==============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:366c958cbfb569d5742b1be4c86d411092f129f15c79941e9dcb0d68b332a6e9
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Production%2FStable-green.png
:target: https://odoo-community.org/page/development-status
:alt: Production/Stable
.. |badge2| image:: https://img.shields.io/badge/licence-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/18.0/purchase_requisition_line_menu
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_requisition_line_menu
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=18.0
:alt: Try me on Runboat

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

Adds a menu and some views to navigate through Purchase Requisition
Lines.

**Table of contents**

.. contents::
:local:

Usage
=====

Menu option available at Purchase > Orders > Blanket Orders Line.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_requisition_line_menu%0Aversion:%2018.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

Contributors
------------

- [Akretion](https://www.akretion.com):

- Renato Lima <<renato.lima@akretion.com.br>>

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.

.. |maintainer-renatonlima| image:: https://github.com/renatonlima.png?size=40px
:target: https://github.com/renatonlima
:alt: renatonlima

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-renatonlima|

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_requisition_line_menu>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions purchase_requisition_line_menu/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
19 changes: 19 additions & 0 deletions purchase_requisition_line_menu/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2025-TODAY Akretion (http://www.akretion.com/)
# @author: Renato Lima <renato.lima@akretion.com.br>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Purchase Requisition Line Menu",
"summary": """Adds Purchase Requisition Line Menu""",
"version": "18.0.1.0.0",
"license": "LGPL-3",
"category": "Inventory/Purchase",
"development_status": "Production/Stable",
"author": "Akretion, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"maintainers": ["renatonlima"],
"depends": ["purchase_requisition"],
"data": [
"views/purchase_requisition_line_menu_views.xml",
],
}
1 change: 1 addition & 0 deletions purchase_requisition_line_menu/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import purchase_requisition_line
11 changes: 11 additions & 0 deletions purchase_requisition_line_menu/models/purchase_requisition_line.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Copyright 2025-TODAY Akretion (http://www.akretion.com/)
# @author: Renato Lima <renato.lima@akretion.com.br>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

from odoo import fields, models


class PurchaseRequisitionLine(models.Model):
_inherit = "purchase.requisition.line"

state = fields.Selection(related="requisition_id.state", readonly=True)
3 changes: 3 additions & 0 deletions purchase_requisition_line_menu/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
2 changes: 2 additions & 0 deletions purchase_requisition_line_menu/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- \[Akretion\](<https://www.akretion.com>):
- Renato Lima \<\<<renato.lima@akretion.com.br>\>\>
2 changes: 2 additions & 0 deletions purchase_requisition_line_menu/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Adds a menu and some views to navigate through Purchase Requisition
Lines.
1 change: 1 addition & 0 deletions purchase_requisition_line_menu/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Menu option available at Purchase \> Orders \> Blanket Orders Line.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading