Odoo Help

0
1
Avatar

Aktiv software

--Aktiv software--
3578
| 5 2 7
Ahmedabad, India
--Aktiv software--

 Aktiv software

  • Skype : shah.jainesh

  • email : Sales@Aktivsoftware.com

Aktiv software
On 10/26/17, 2:56 AM

Hello Jorge,

        Many2many field is not directly being used in search view. However one other option is available, You should follow that alternate way :-
        For example :-
            1)  If sale order having invoice_ids many2many field.
            2)  First make one invoice_number field in sale order.
            3)  In sale order field invoice_ids objects is account.invoice
                    So call account.invoice create method, you can get Source Document (origin) = SO reference number
            4)  Base on origin you can search sale order id and write that invoice number in sale order's field "invoice_number"
            5)  Then "invoice_number" is use in search view.

    Hope this will help you!
    Thanks. 

About This Community

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

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 10/25/17, 5:19 AM
Seen: 1258 times
Last updated: 10/26/17, 2:56 AM