Odoo Help

0
0

Hi, I have created my table name "custom_hr_daily_attendance_view_resource_allocation_detail" in PostgreSQL and also created Sequences "custom_hr_daily_attendance_view_resource_allocation_deta_id_seq".

message displayed this one "You cannot perform this operation. New Record Creation is not allowed for this object as this object is for reporting purpose".

Sequence created its wrongly.

I have find it this issues, i thing my idea reduce the length of character for my table name Tabel Name: custom_hr_daily_attendance_view_resource_allocation_det Sequece: custom_hr_daily_attendance_view_resource_allocation_det_id_seq

its working fine.

Regards Thaladiyan Balakrishnan

0
Mehdi
On 5/19/14, 5:27 AM

Hi,

I do have the same problem here with a table 'order_stock_line' inheriting from 'purchase_order_line' like follows : 

 

class order_stock_line(osv.osv):
    _name = "order.line.stock"
    _inherit = 'purchase.order.line'
    _table = 'order_stock_line'
    _columns = {
        
        'order_stock_id': fields.many2one('purchase.order.stock', 'Order Reference', select=True, ondelete='cascade'),
        'requisition_stock_id': fields.related('order_stock_id','requisition_stock_id',type='many2one',relation='purchase.requisition.stock',string='Requisition sur stock',store=True, select=True, readonly=True),
    }
order_stock_line()

 

Anytime I want to create a new instance of this object I do have the same message, and I don't know why.

Any comments ? Thanks in advance. ;)

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: 3/13/14, 8:35 AM
Seen: 2925 times
Last updated: 3/16/15, 8:10 AM