On Sun, Apr 16, 2017 at 2:48 PM, Cédric Krier <[email protected]> wrote:

> 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.
>

I have worked out a solution to this problem: Delete the record in
ir_property table corresponding to this sequence and then update the
module. It will re-create the record in ir_property and the prefix/suffix
updated value will be used.

-- 
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/CAM3N3CwhsvJmu7keJRWD%2BrdH7PDn%2B4%3Dq_otzg37-K36bP00tbQ%40mail.gmail.com.

Reply via email to