Server IP : 127.0.0.2 / Your IP : 3.129.209.87 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/mrp/wizard/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <record id="view_mrp_product_produce_wizard" model="ir.ui.view"> <field name="name">MRP Product Produce</field> <field name="model">mrp.product.produce</field> <field name="arch" type="xml"> <form string="Produce"> <group> <group> <field name="serial" invisible="1"/> <field name="production_id" invisible="1"/> <field name="product_id" readonly="1"/> <label for="product_qty"/> <div class="o_row"> <field name="product_qty" attrs="{'readonly': [('serial', '=', True)]}"/> <field name="product_uom_id" readonly="1"/> </div> <field name="product_tracking" invisible="1"/> <field name="lot_id" attrs="{'invisible': [('product_tracking', '=', 'none')], 'required': [('product_tracking', '!=', 'none')]}" domain="[('product_id','=',product_id)]" context="{'default_product_id': product_id}"/> </group> </group> <group> <field name="consume_line_ids" attrs="{'invisible': [('consume_line_ids', '=', [])]}" nolabel="1" context="{'w_production': True, 'active_id': production_id, 'default_lot_id': lot_id}"> <tree editable="top" delete="0" create="0"> <field name="product_id" readonly="1"/> <field name="quantity" readonly="1"/> <field name="plus_visible" invisible="1"/> <field name="quantity_done"/> <field name="lot_id" context="{'default_product_id': product_id}"/> <field name="move_id" invisible="1"/> </tree> </field> </group> <footer> <button name="do_produce" type="object" string="Record Production" class="btn-primary"/> <button string="Cancel" class="btn-default" special="cancel" /> </footer> </form> </field> </record> <record id="act_mrp_product_produce" model="ir.actions.act_window"> <field name="name">Produce</field> <field name="type">ir.actions.act_window</field> <field name="res_model">mrp.product.produce</field> <field name="view_type">form</field> <field name="view_mode">form</field> <field name="context">{}</field> <field name="target">new</field> </record> </odoo>