From 8d1ec66ca6e61bdb6ef8b13ebdcd4b709ec2519c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesu=CC=81s=20Alan=20Ramos=20Rodri=CC=81guez?= Date: Fri, 14 Jul 2023 11:10:44 -0600 Subject: [PATCH] [ADD] purchase_request: improve ui interface. Add button to tree view of purchase request lines to allow to generate RFQ without clicking in action button. Define correct group to field analytic_tag_ids from group_analytic_accounting to group_analytic_tags. Add button to form view of purchase request lines to allow to generate RFQ without clikcing in action button. Allow to show the print button in purchase requests, the report existed but it didn't have the binding model. --- .../views/purchase_request_line_view.xml | 25 +++++++++++++++---- .../views/purchase_request_report.xml | 2 ++ .../views/purchase_request_view.xml | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/purchase_request/views/purchase_request_line_view.xml b/purchase_request/views/purchase_request_line_view.xml index e664f628b00..e04ed9fab22 100644 --- a/purchase_request/views/purchase_request_line_view.xml +++ b/purchase_request/views/purchase_request_line_view.xml @@ -12,6 +12,14 @@ decoration-muted="cancelled == True" decoration-info="request_state in ('draft', 'to_approve')" > +
+
@@ -69,6 +77,13 @@
+
@@ -136,9 +151,9 @@ /> qweb-pdf purchase_request.report_purchase_request purchase_request.report_purchase_request + + report diff --git a/purchase_request/views/purchase_request_view.xml b/purchase_request/views/purchase_request_view.xml index 6bd8a9cd66d..79b7b4663dc 100644 --- a/purchase_request/views/purchase_request_view.xml +++ b/purchase_request/views/purchase_request_view.xml @@ -182,7 +182,7 @@ />