On 2017-04-15 16:48, Khurram Shahzad wrote:
> Hi all,
>
> I changed the prefix of a sequence in its xml file available in data
> directory. I updated the module but I am unable to get the changed prefix
> of the sequence. System is still using the old prefix on the sequence. Do I
> have to change some other file besides of the xml file containing the
> sequence?
Never ever change XML file.
If you need to customize a sequence created via XML, you can just edit
it from the client.
By the way, on the update of the module, trytond has probably warned you
that it could not update the sequence record.
On 2017-04-16 11:52, Khurram Shahzad wrote:
> When I try to update the sequence from the client, I get the following
> error:
> 'You are not authorized to modify this record. This record is the part of
> base configuration'.
> Using client, I am trying to update from 'Administration -> Sequences ->
> Sequences'.
>
> Should I set the 'noupdate' flag to '0' in the xml file where the sequence
> is defined?
Which sequence is it?
On 2017-04-16 15:41, Khurram Shahzad wrote:
> Thank you so much for your valuable time. What is the recommended way of
> defining sequences which can also be customized using client?
Like that: http://hg.tryton.org/modules/party/file/tip/party.xml#l103
It could also been put under date noupdate attribute if you want to
allow user to delete it.