mirror of
https://github.com/bringout/cybrosys.git
synced 2026-04-19 21:32:00 +02:00
Initial commit: Cybrosys Odoo packages (10 packages)
This commit is contained in:
commit
54ed047508
751 changed files with 13707 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<!-- inherited form view of purchase order -->
|
||||
<record id="purchase_order_form_view_inherit" model="ir.ui.view">
|
||||
<field name="name">purchase.order.form.view.inherit.order_line_sequences</field>
|
||||
<field name="model">purchase.order</field>
|
||||
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='order_line']//tree//field[@name='product_id']" position="before">
|
||||
<field name="sequence_number"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- inherited stock report picking-->
|
||||
<template id="stock_picking_report" inherit_id="stock.report_picking">
|
||||
<xpath expr="//table[hasclass('table')]//tr//th[@name='th_product']"
|
||||
position="before">
|
||||
<th name="th_sequence" class="text-start">#</th>
|
||||
</xpath>
|
||||
<xpath expr="//tbody//tr//td"
|
||||
position="before">
|
||||
<td name="td_sequence">
|
||||
<span t-esc="1 + ml_index"/>
|
||||
</td>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- inherited purchase report purchase order document-->
|
||||
<template id="purchase_order_report" inherit_id="purchase.report_purchaseorder_document">
|
||||
<xpath expr="//table[hasclass('table')]//tr//th[@name='th_description']"
|
||||
position="before">
|
||||
<th name="th_sequence" class="text-start">#</th>
|
||||
</xpath>
|
||||
<xpath expr="//tbody//tr//td"
|
||||
position="before">
|
||||
<td name="td_sequence">
|
||||
<span t-esc="line.sequence_number"/>
|
||||
</td>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="purchase_quotation_report" inherit_id="purchase.report_purchasequotation_document">
|
||||
<xpath expr="//table[hasclass('table')]//tr//th[@name='th_description']"
|
||||
position="before">
|
||||
<th name="th_sequence" class="text-start">#</th>
|
||||
</xpath>
|
||||
<xpath expr="//tbody//tr//td"
|
||||
position="before">
|
||||
<td name="td_sequence">
|
||||
<span t-esc="order_line.sequence_number"/>
|
||||
</td>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data>
|
||||
<!-- inherited sale report sale order document-->
|
||||
<template id="sales_report" inherit_id="sale.report_saleorder_document">
|
||||
<xpath expr="//table[hasclass('table')]//tr//th[@name='th_description']"
|
||||
position="before">
|
||||
<th name="th_sequence" class="text-start">#</th>
|
||||
</xpath>
|
||||
<xpath expr="//tbody[hasclass('sale_tbody')]//tr//td[@name='td_name']"
|
||||
position="before">
|
||||
<td name="td_sequence">
|
||||
<span t-esc="line.sequence_number"/>
|
||||
</td>
|
||||
</xpath>
|
||||
</template>
|
||||
</data>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<!-- inherited sale order form view-->
|
||||
<record id="sale_order_form_view_inherit" model="ir.ui.view">
|
||||
<field name="name">sale.order.form.view.inherit.order_line_sequences</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='order_line']//tree//field[@name='product_id']" position="before">
|
||||
<field name="sequence_number"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<!-- inherited form view of stock picking-->
|
||||
<record id="stock_picking_form_view_inherit" model="ir.ui.view">
|
||||
<field name="name">stock.picking.form.view.inherit.order_line_sequences</field>
|
||||
<field name="model">stock.picking</field>
|
||||
<field name="inherit_id" ref="stock.view_picking_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='move_ids_without_package']//tree//field[@name='product_id']" position="before">
|
||||
<field name="sequence_number"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue