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

I need a way to create on the sale.order.lines a position column, and on the invoice .line too.

Then when I create from a sale.order a invoice, the position (new field) should give the value to the new invoice field.

How can I do that, or is there any modul that can make this?


الصورة الرمزية
إهمال
أفضل إجابة

Hello,

You can add your new column by _inherit the model.

After adding your fields, you need to override _prepare_order_line_invoice_line to create the invoice line values.

Hope this will help


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يونيو 24
1999
1
مايو 19
3885
1
مايو 19
10763
0
أغسطس 16
9105
2
يناير 16
5154