making unique number id while creating view

Asked by Cuong

Hi,

While creating report fo my module the same as sale report (addons/sale/report/sale_report.py). I join 4 tables to make a view. And I can't a way to generate unique number for column id.

Please help me give some suggestion.

Thanks,

Question information

Language:
English Edit question
Status:
Answered
For:
Odoo Server (MOVED TO GITHUB) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mjabirk (mjabirk) said :
#1
Revision history for this message
Ferdinand (office-chricar) said :
#2

http://bazaar.launchpad.net/~c2c-austria/openobject-addons/c2c_austria_dev/files/head:/chricar_view_id/

this module creates unique view ids using up to 4 criteria from up to 4 tables making views suitable to be displayed in openerp

Can you help with this problem?

Provide an answer of your own, or ask Cuong for more information if necessary.

To post a message you must log in.