Dear Cedric, On Sun, Apr 16, 2017 at 2:48 PM, Cédric Krier <cedric.kr...@b2ck.com> wrote:
> On 2017-04-16 13:49, Khurram Shahzad wrote: > > On Sun, Apr 16, 2017 at 1:20 PM, Cédric Krier <cedric.kr...@b2ck.com> > wrote: > > > > > 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? > > > > > It is 'Inpatient Registration' sequence of the GNU Health. We want to > > change the prefix from 'INPAC' to 'IPD-'. > > This is a mistake in GNU Health. > https://hg.savannah.gnu.org/hgweb/health/file/8f854e27f596/tryton/health_ > inpatient/data/health_inpatient_sequence.xml#l12 > If sequence are created via XML, it should never define any prefix or > suffix if you want to provide customization to the user. > > You must fill an issue to GNU Health (if you can). Before I could have > fixed it but I have been banned from this project. > Thank you so much for your valuable time. What is the recommended way of defining sequences which can also be customized using client? Regards, Khurram. -- You received this message because you are subscribed to the Google Groups "tryton" group. To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/CAM3N3CxL46ONRTpL7ZN%2BJ5ccieyWB2OjQ-Q2fwWR%2BEx3sGn7Ug%40mail.gmail.com.