Server IP : 127.0.0.2 / Your IP : 3.145.49.72 Web Server : Apache/2.4.18 (Ubuntu) System : User : www-data ( ) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /opt/odoo/addons/website_quote/views/ |
Upload File : |
<?xml version="1.0"?> <odoo> <record id="sale_order_form_quote" model="ir.ui.view"> <field name="name">sale.order.form.payment</field> <field name="model">sale.order</field> <field name="inherit_id" ref="sale.view_order_form"/> <field name="arch" type="xml"> <xpath expr="//header/button[@name='action_confirm'][1]" position="after"> <button name="open_quotation" type="object" class="o_open_quotation" string="Preview" attrs="{'invisible': [('template_id', '=', False)]}"/> </xpath> <xpath expr="//page/field[@name='order_line']/.." position="after"> <page string="Suggested Products"> <field name="quote_viewed" invisible="1"/> <field name="options"> <tree string="Sales Quotation Template Lines" editable="bottom"> <field name="sequence" widget="handle"/> <field name="product_id"/> <field name="layout_category_id" groups="sale.group_sale_layout"/> <field name="name"/> <field name="quantity"/> <field name="uom_id" groups="product.group_uom"/> <field name="price_unit"/> <field name="discount" groups="sale.group_discount_per_so_line"/> <button name="button_add_to_order" class="oe_link" icon="fa-shopping-cart" string="Add to order lines" type="object"/> <field name="website_description" invisible="1"/> </tree> </field> </page> </xpath> <xpath expr="//field[@name='partner_shipping_id']" position="after"> <label for="template_id"/> <div> <field name="template_id" context="{'company_id': company_id}" options="{'no_create': True, 'no_open': True}"/> </div> </xpath> <xpath expr="//field[@name='client_order_ref']" position="after"> <field name="require_payment" widget="radio"/> <field name="website_description" invisible="1"/> </xpath> </field> </record> <record id="sale.action_quotations" model="ir.actions.act_window"> <field name="help" type="html"> <p class="oe_view_nocontent_create"> Create a Quotation, the first step of a new sale. </p><p> Your next actions should flow efficiently: confirm the Quotation to a Sale Order, then create the Invoice and collect the Payment. </p><p> Note that once a Quotation becomes a Sale Order, it will be moved from the Quotations list to the Sales Order list. </p> </field> </record> </odoo>