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

Hello

I have tried & its quite frustrating that iam not able to assign access rights to my customized module.

Iam inheriting stock.picking module.

Following code-

class stock_picking(osv.osv):

_inherit = 'stock.picking'
_description = "Picking List"
_columns = {

'ads':fields.one2many('stock.picking.ads, 'stock_id', 'Advertisements')

}

class stock_picking_ads(osv.osv):

_name = 'stock.picking.ads'

_description = 'Picking Ads'
_columns = {
    'name':fields.datetime('Date'),
    'stock_id':fields.many2one('stock.picking', 'Delivery orders'),
    'ads_no':fields.text('ads'),
}

stock_picking_ads()

Now i create new group , assign user and access right as READ & CREATE to object stock.picking.ads but nothing is reflected , iam able to delete and write which should not happen. Very Strange!!!

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 25
1820
2
wrz 22
9556
2
kwi 22
4604
0
lip 21
7254
1
mar 21
5007