تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4897 أدوات العرض

Hi,

I create a new module to add new fields to class stock_picking_out. I can choose my new field but don't save this information. Anyone knows why?

My code:

class stock_picking_out(osv.osv):
    _name = "stock.picking.out"
    _inherit = "stock.picking.out"
    _description = "Delivery Orders"

 _columns = {
        'movement_status': fields.selection(
            ....................
      ),

}
    _defaults = {
        'movement_status': 'N',
    }

stock_picking_out()

image description

But when save:

image description

I don't know why this information disappear.

Thanks...

الصورة الرمزية
إهمال
الكاتب

From what I know so far this class has a bug. The workaround is to replicate information in the two modules (stock_picking and stock_picking_out).

Yes I Got the solution. Add field in both stock.picking and stock.picking.out

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
يناير 24
14632
0
مايو 24
1632
1
مارس 15
5402
0
مارس 15
3375
0
مارس 15
3841