diff --git a/sale_order_line_menu/README.rst b/sale_order_line_menu/README.rst index c92099847b6e..c7d2c0377017 100644 --- a/sale_order_line_menu/README.rst +++ b/sale_order_line_menu/README.rst @@ -17,13 +17,13 @@ Sale Order Line Menu :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fsale--workflow-lightgray.png?logo=github - :target: https://github.com/OCA/sale-workflow/tree/17.0/sale_order_line_menu + :target: https://github.com/OCA/sale-workflow/tree/18.0/sale_order_line_menu :alt: OCA/sale-workflow .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/sale-workflow-17-0/sale-workflow-17-0-sale_order_line_menu + :target: https://translation.odoo-community.org/projects/sale-workflow-18-0/sale-workflow-18-0-sale_order_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/sale-workflow&target_branch=17.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/sale-workflow&target_branch=18.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -46,7 +46,7 @@ Bug Tracker Bugs are tracked on `GitHub 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 `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -86,6 +86,6 @@ 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/sale-workflow `_ project on GitHub. +This module is part of the `OCA/sale-workflow `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/sale_order_line_menu/__manifest__.py b/sale_order_line_menu/__manifest__.py index 6bdc42366065..2d281ba78cd4 100644 --- a/sale_order_line_menu/__manifest__.py +++ b/sale_order_line_menu/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Sale Order Line Menu", - "version": "17.0.1.0.0", + "version": "18.0.1.0.0", "author": "Open Source Integrators, Odoo Community Association (OCA)", "summary": "Adds a Sale Order Lines Menu", "website": "https://github.com/OCA/sale-workflow", diff --git a/sale_order_line_menu/models/sale_order_line.py b/sale_order_line_menu/models/sale_order_line.py index e7190e8a37a1..483c59264fb9 100644 --- a/sale_order_line_menu/models/sale_order_line.py +++ b/sale_order_line_menu/models/sale_order_line.py @@ -12,9 +12,3 @@ class SaleOrderLine(models.Model): store=True, index=True, ) - analytic_account_id = fields.Many2one( - related="order_id.analytic_account_id", - readonly=True, - store=True, - index=True, - ) diff --git a/sale_order_line_menu/static/description/index.html b/sale_order_line_menu/static/description/index.html index 4e60743905a1..6d4bf1fd75b9 100644 --- a/sale_order_line_menu/static/description/index.html +++ b/sale_order_line_menu/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,7 +369,7 @@

Sale Order Line Menu

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:ef4a6d178f0b7fad01cf6f4ec898fe6cd926e1cad89ac26a51ab39b9a3e2689f !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

+

Beta License: AGPL-3 OCA/sale-workflow Translate me on Weblate Try me on Runboat

Adds a menu item and some views to navigate through Sale Order lines.

Table of contents

@@ -392,7 +393,7 @@

Bug Tracker

Bugs are tracked on GitHub 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.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -423,11 +424,13 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

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/sale-workflow project on GitHub.

+

This module is part of the OCA/sale-workflow project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

diff --git a/sale_order_line_menu/views/sale_order_line_views.xml b/sale_order_line_menu/views/sale_order_line_views.xml index 10e7f212fd7b..d91cb2dea97f 100644 --- a/sale_order_line_menu/views/sale_order_line_views.xml +++ b/sale_order_line_menu/views/sale_order_line_views.xml @@ -2,8 +2,21 @@ - - sale.order.line.tree + + sale.order.line.view.form.no.create + sale.order.line + + primary + 999 + +
+ false +
+
+
+ + + sale.order.line.list sale.order.line primary @@ -14,7 +27,13 @@ - + @@ -34,7 +53,7 @@ /> - + @@ -55,7 +74,7 @@ show - + - + sale.order.line.pivot sale.order.line @@ -144,11 +163,6 @@ string="Invoice Status" context="{'group_by' : 'invoice_status'}" /> - Order Lines ir.actions.act_window sale.order.line - tree,form,pivot + list,form,pivot - [('display_type', 'not in', ['line_section', 'line_note'])] + + + list + + + + + + + form + + + +