On 2017-04-16 13:49, Khurram Shahzad wrote: > On Sun, Apr 16, 2017 at 1:20 PM, Cédric Krier <[email protected]> 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. -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/ -- 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/20170416094856.GA49910%40tetsuo.
