Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

2

batch processing delivery orders from list view

By
Robert Klüsener
on 5/22/13, 7:10 PM 2,450 views

I would like to process multiple delivery orders at once from the list view: check the availability and deliver them. So far there is no such option in the "More" menu if you select multiple delivery orders in the list view. Can I configure the system to have the options "Check Availability" and "Deliver" for multiple delivery orders at once in the "More" Menu?

Have you found any way around this? I'm hurting to process 1300 deliver orders quickly (incorrect setup on my part)

Andrew
on 9/13/13, 12:45 PM
1

Borni DHIFI

--Borni DHIFI--
5102
| 6 8 9
Tunis, Tunisia
--Borni DHIFI--

Techno Functional Consultant Odoo(OpenERP) 

http://www.linkedin.com/in/borni

Skype : dhifi.borni

Borni DHIFI
On 5/30/13, 4:37 PM

Hi,

select multiple delivery and in a wizard you can confirm your selection or choose operation check the availability or deliver or another actions.

so

add a menu in "More":

<act_window name="Select multiple delivery to  deliver" 
            res_model="multiple_delivery_wizard"
            src_model="stock.picking.out"
            key2="client_action_multi"                  
            view_mode="form" 
            target="new" 
            view_type="form"
           id="act_more_select_multiple_delivery" />

in wizard :

class multiple_delivery_wizard(osv.osv_memory):
    _name = 'multiple_delivery_wizard'
    _description = 'multiple_delivery_wizard '

    def default_get(self, cr, uid, fields, context=None):
       res = super(multiple_delivery_wizard, self).default_get(cr, uid, fields,
          context=context)
       delivery_ids = context and context.get('active_ids') or []
       # all delivery selected
       # your treatment

    def view_init(self, cr, uid, fields_list, context=None):
        """
         Creates view dynamically and adding fields at runtime.
         @param self: The object pointer.
         @param cr: A database cursor
         @param uid: ID of the user currently logged in
         @param context: A standard dictionary
         @return: New arch of view with new columns.
         """
         # your treatment

   def delivery_all_selected(self, cr, uid, ids, context=None):
         # your treatment



  multiple_delivery_wizard()

Thanks

I'm sorry for my ignorance, but is your example a new module or something i can edit in technical settings? I think I can figure out the window action, but i am lost with the wizard portion. thanks!

Andrew
on 9/5/13, 11:43 AM
0
Michel Hugues
On 4/10/14, 9:21 AM

Another way to batch processing delivery orders is in "Warehouse/Receive Deliver Products/Deliver Products": select all lines and continue with "More Menu" option "Deliver/Receive Products"

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 5/22/13, 7:10 PM
Seen: 2450 times
Last updated: 3/16/15, 8:10 AM