Community mailing list archives

community@mail.odoo.com

Css not being applied to modal opened from POS

by
niyasp
- 05/05/2015 07:09:29


Dear community,


  I tried to open a form from pos using java script. the form displayed in a modal without any style.

i used this code to open the form

               var action = {
                    name: 'Create New Coupon',
                    type: 'ir.actions.act_window',
                    res_model: 'test.model',
                    view_mode: 'form',
                    view_type: 'form',
                    views: [
                        [false,
                            'form'
                        ]
                    ],
                    target: 'new',
                };
               this.pos_widget.do_action(action)

Can anyone help?
Regards,
Niyas