mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-27 20:32:08 +02:00
Initial commit: Sale packages
This commit is contained in:
commit
14e3d26998
6469 changed files with 2479670 additions and 0 deletions
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<record id="sale_action_quotations_new" model="ir.actions.act_window">
|
||||
<field name="name">Quotation</field>
|
||||
<field name="res_model">sale.order</field>
|
||||
<field name="view_mode">form,tree,graph</field>
|
||||
<field name="domain">[('opportunity_id', '=', active_id)]</field>
|
||||
<field name="context">{'search_default_opportunity_id': active_id, 'default_opportunity_id': active_id}</field>
|
||||
</record>
|
||||
|
||||
<record id="sale_view_inherit123" model="ir.ui.view">
|
||||
<field name="name">sale.order.form.inherit.sale</field>
|
||||
<field name="model">sale.order</field>
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//group[@name='technical']" position="inside">
|
||||
<field name="opportunity_id" help="Log in the chatter from which opportunity the order originates" groups="base.group_no_one"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!-- This menu is display in CRM app when sale is installed-->
|
||||
<menuitem
|
||||
id="sale_order_menu_quotations_crm"
|
||||
name="My Quotations"
|
||||
action="sale.action_quotations"
|
||||
parent="crm.crm_menu_sales"
|
||||
sequence="2"/>
|
||||
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue