Server IP : 127.0.0.2 / Your IP : 18.216.130.198 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/stock_picking_wave/data/ |
Upload File : |
<?xml version="1.0" encoding="utf-8"?> <odoo> <!-- Add picking wave --> <record id="stock_picking_wave_dry_1" model="stock.picking.wave"> <field name="name">Picking Dry for John</field> <field name="state">in_progress</field> </record> <record id="stock_picking_wave_freeze_1" model="stock.picking.wave"> <field name="name">Picking Freeze for Mickael</field> <field name="state">in_progress</field> </record> <!-- Add picking --> <record id="Picking_A" model="stock.picking"> <field name="name">Picking #1</field> <field name="move_type">one</field> <field name="priority">2</field> <field name="picking_type_id" ref="stock.picking_type_internal"/> <field name="wave_id" ref="stock_picking_wave_freeze_1"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> </record> <record id="Picking_B" model="stock.picking"> <field name="name">Picking #2</field> <field name="move_type">one</field> <field name="state">assigned</field> <field name="priority">1</field> <field name="picking_type_id" ref="stock.picking_type_internal"/> <field name="wave_id" ref="stock_picking_wave_dry_1"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> </record> <record id="Picking_C" model="stock.picking"> <field name="name">Picking #3</field> <field name="move_type">one</field> <field name="state">assigned</field> <field name="priority">1</field> <field name="picking_type_id" ref="stock.picking_type_internal"/> <field name="wave_id" ref="stock_picking_wave_freeze_1"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> </record> <!-- add Product --> <record id="product_product_ice_cream_choco" model="product.product"> <field name="name">Ice Cream Chocolate</field> <field name="default_code">IC-CHOCO</field> <field name="categ_id" ref="product.product_category_all"/> <field name="list_price">450.0</field> <field name="standard_price">300.0</field> <field name="type">consu</field> <field name="uom_id" ref="product.product_uom_unit"/> <field name="uom_po_id" ref="product.product_uom_unit"/> <field name="description_sale">Ice Cream Chocolate with sticks</field> </record> <record id="product_product_ice_cream_vani" model="product.product"> <field name="name">Ice Cream Vanilla</field> <field name="default_code">IC-VANI</field> <field name="categ_id" ref="product.product_category_all"/> <field name="list_price">450.0</field> <field name="standard_price">300.0</field> <field name="type">consu</field> <field name="uom_id" ref="product.product_uom_unit"/> <field name="uom_po_id" ref="product.product_uom_unit"/> <field name="description_sale">Ice Cream Vanilla</field> </record> <record id="product_product_dry_specu" model="product.product"> <field name="name">Speculoos</field> <field name="default_code">DRY-SPEC</field> <field name="categ_id" ref="product.product_category_all"/> <field name="list_price">150.0</field> <field name="standard_price">100.0</field> <field name="type">consu</field> <field name="uom_id" ref="product.product_uom_unit"/> <field name="uom_po_id" ref="product.product_uom_unit"/> <field name="description_sale">Speculoos - A belgian speciality</field> </record> <!-- Add stock move --> <record id="stock_move1" model="stock.move"> <field name="name">A first stock move</field> <field name="picking_id" ref="Picking_A"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> <field name="product_uom" ref="product.product_uom_unit" /> <field name="product_id" ref="product_product_ice_cream_choco"/> </record> <record id="stock_move2" model="stock.move"> <field name="name">A second stock move</field> <field name="picking_id" ref="Picking_A"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> <field name="product_uom" ref="product.product_uom_unit" /> <field name="product_id" ref="product_product_ice_cream_vani"/> </record> <record id="stock_move3" model="stock.move"> <field name="name">A third stock move</field> <field name="picking_id" ref="Picking_B"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> <field name="product_uom" ref="product.product_uom_unit" /> <!--<field name="product_id" ref="product.product_product_10"/>--> <field name="product_id" ref="product_product_dry_specu"/> </record> <record id="stock_move4" model="stock.move"> <field name="name">A fourth stock move</field> <field name="picking_id" ref="Picking_C"/> <field name="location_id" ref="stock.stock_location_stock"/> <field name="location_dest_id" ref="stock.stock_location_output"/> <field name="product_uom" ref="product.product_uom_unit" /> <field name="product_id" ref="product_product_ice_cream_vani"/> </record> </odoo>