Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
5 Odpowiedzi
5192 Widoki

Hi,

I have created custom One2many field sale.shipping.line same as sale.order.line in sale order and also in created in account.invoice as we have account.invoice.line and I want to pass those values from sale order to account.invoice.

Could anyone help me to achieve this.

Thanks in advance!

Awatar
Odrzuć
Autor

Hi Niyas,

I tried with that way but I have created another order_line same as sale.order.line and I want to pass that to new line_ids created in account.invoice same as account.invoice.line.

So you mean to say you want to pass sale order line and your custom O2M line in one account invoice which is created from that sale order. Right ?

Autor

Yes right and for custom O2M line I have created another O2M in account.invoice.

Najlepsza odpowiedź

If you have o2m in sales order as well as in invoice. Let me know when you want to copy the shipping information in invoice ? What if multiple invoices ?

So, to simplfy you can add new button on sales order and it will open wizard where you can select the invoice where you want to push the shipping information.

On wizard add button to create record in selected invoice.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lut 22
2836
2
kwi 22
3271
3
maj 20
11486
1
gru 19
3165
1
gru 19
2570