Debian Codegraph @

addons/sale_pdf_quote_builder/views/sale_order_views.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <odoo>
3
4 <record id="sale_order_form_inherit_sale_pdf_quote_builder" model="ir.ui.view">
5 <field name="name">sale.order.form.pdf.quote.builder</field>
6 <field name="model">sale.order</field>
7 <field name="inherit_id" ref="sale_management.sale_order_form_quote"/>
8 <field name="arch" type="xml">
9 <!-- Needed by customContentKanbanLikeWidget to save selected documents on the product. -->
10 <!-- Desktop view -->
11 <xpath expr="//field[@name='order_line']/list" position="inside">
12 <field name="product_document_ids" column_invisible="1"/>
13 </xpath>
14 <!-- Mobile view -->
15 <xpath expr="//field[@name='order_line']/kanban" position="inside">
16 <field name="product_document_ids" column_invisible="1"/>
17 </xpath>
18 <page name="order_lines" position="after">
19 <page
20 name="pdf_quote_builder"
21 string="Quote Builder"
22 groups="sales_team.group_sale_salesman"
23 invisible="not (partner_id and is_pdf_quote_builder_available) or context.get('hide_pdf_quote_builder')"
24 >
25 <!-- Needed by customContentKanbanLikeWidget to save selected documents. -->
26 <field name="quotation_document_ids" invisible="1"/>
27 <field name="customizable_pdf_form_fields" invisible="1"/>
28 <widget
29 name="customContentKanbanLikeWidget"
30 class="d-inline"
31 />
32 </page>
33 </page>
34 </field>
35 </record>
36
37 </odoo>