On 26/05/2015 09:20, Jean C wrote: > > 2015-05-26 2:33 GMT+02:00 Pierre-Louis Bonicoli > <pierre-louis.bonic...@ir5.eu <mailto:pierre-louis.bonic...@ir5.eu>>: > > We keep the current behavior (dots replaced by underscore) and use the > same approach as django (last X characters replaced by > 'hash(name)[:X]'). > > > Problem is, tryton sometimes relies on finding the table in the database > for data migration or schema update. How can it be done if you cannot > identify consistently the table name on which you need to work ? > > Jean Cavallo > /Coopengo/
The method above allows to identify consistently the table name. For example, using the oracle backend, the name of the table used by the model 'account.invoice.payment_term.line.relativedelta' will always be 'account_invoice_paymen97171639'. -- Pierre-Louis