Skip to content

Commit

Permalink
[ADD] joint_buying_product : New view for joint.buying.transport.requ…
Browse files Browse the repository at this point in the history
…est.line
  • Loading branch information
legalsylvain committed Nov 1, 2023
1 parent 96d4269 commit d529375
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
1 change: 1 addition & 0 deletions joint_buying_product/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"views/view_joint_buying_purchase_order_grouped.xml",
"views/view_joint_buying_purchase_order.xml",
"views/view_joint_buying_transport_request.xml",
"views/view_joint_buying_transport_request_line.xml",
"views/view_res_partner.xml",
"reports/report_joint_buying_purchase_order_grouped.xml",
"reports/report_joint_buying_tour.xml",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2023 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo>

<record id="view_joint_buying_transport_request_line_search" model="ir.ui.view">
<field name="model">joint.buying.transport.request.line</field>
<field name="arch" type="xml">
<search>
<field name="start_action_type"/>
<field name="starting_point_id"/>
<field name="arrival_action_type"/>
<field name="arrival_point_id"/>
</search>
</field>
</record>

<record id="view_joint_buying_transport_request_line_tree" model="ir.ui.view">
<field name="model">joint.buying.transport.request.line</field>
<field name="arch" type="xml">
<tree>
<field name="request_id"/>
<field name="start_action_type"/>
<field name="start_date"/>
<field name="starting_point_id"/>
<field name="arrival_action_type"/>
<field name="arrival_date"/>
<field name="arrival_point_id"/>
</tree>
</field>
</record>

</odoo>

0 comments on commit d529375

Please sign in to comment.