bugGNU Health - Bugs: bug #34412, Invalid attribute tabpos for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #34412: Invalid attribute tabpos for element notebook

Submitted by:  Mario Puntin <mariomop>
Submitted on:  Tue 27 Sep 2011 10:23:34 PM UTC  
 
Category: TrytonSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Cédric Krier <cedk>
Open/Closed: ClosedRelease: None
Module: 

Sat 15 Oct 2011 04:15:23 PM UTC, comment #3:

Fixed with rev 7160b88bc8c4

Cédric Krier <cedk>In charge of this item.
Wed 28 Sep 2011 12:28:39 PM UTC, comment #2:

tabpos is only removed in trunk
So it is still working on 2.0 series.
So I postpone the bugs, until Health migrate to the future 2.2 series.

Cédric Krier <cedk>In charge of this item.
Tue 27 Sep 2011 11:07:55 PM UTC, comment #1:

Hi Mario

Yes. Tabpos is deprecated. In Tryton versions > 2.0.x is no longer used.

We need to use Tryton v. 2.0.x (stable) for now.

This is related to Tryton issue 2135
https://bugs.tryton.org/roundup/issue2135

Thanks !
Luis

Luis Falcon <meanmicio>
Project Administrator
Tue 27 Sep 2011 10:23:34 PM UTC, original submission:

Using Ubuntu 9.10, Tryton 2.1.0, GNU Health 1.3.3

When I tried to install Health in new database, the system complained about this invalid attribute, "tabpos".
Instalation failed.

[Tue Sep 27 18:48:16 2011] INFO:modules:health:init gnuhealth.hospital.bed
[Tue Sep 27 18:48:16 2011] INFO:modules:health:loading health_view.xml
[Tue Sep 27 18:48:21 2011] ERROR:ir:Invalid xml view:
<string>:29:0:ERROR:RELAXNGV:RELAXNG_ERR_INVALIDATTR: Invalid attribute tabpos for element notebook
<form string="patient">
<!-- Main Info -->
<group string="Main Info" id="patient_main_info">
<group col="6" id="patient_main_info1">
<label name="name"/>
<field name="name"/>
<label name="identification_code"/>
<field name="identification_code"/>
<label name="sex"/>
<field name="sex"/>
</group>
<newline/>
<group col="6" id="patient_main_info2">
<label name="dob"/>
<field name="dob"/>
<label name="age"/>
<field name="age"/>
<newline/>
<separator colspan="4" string="Patient Allergies and Critical Information" id="patient_critical_information"/>
<newline/>
<field colspan="4" name="critical_info"/>
</group>
</group>

<group string="Picture" id="patient_picture">
<field name="photo" img_width="200" img_height="200" height="200" width="200" widget="image"/>
</group>
<newline/>
<notebook tabpos="up">
<page string="General Info" id="general_info">
<notebook>

<page string="Main" id="main_info_page">

<group col="6" colspan="4" string="Patient General Information" id="general_info">
<label name="blood_type"/>
<field name="blood_type"/>
<label name="rh"/>
<field name="rh"/>
<label name="ethnic_group"/>
<field name="ethnic_group"/>
<newline/>
<label name="family"/>
<field name="family"/>

<label name="current_address"/>
<field name="current_address"/>

<label name="marital_status"/>
<field name="marital_status"/>
<newline/>
<label name="primary_care_doctor"/>
<field name="primary_care_doctor"/>
<label name="current_insurance"/>
<field name="current_insurance"/>

</group>

</page>

<page string="Misc" id="misc_info_page">
<separator colspan="4" string="Patient Extra Information" id="separator_misc"/>
<newline/>
<field name="general_info" colspan="4"/>
<newline/>
<group colspan="4" col="6" id="misc_info_group">
<label name="deceased"/>
<field name="deceased"/>
<label name="dod"/>
<field name="dod"/>
<label name="cod"/>
<field name="cod"/>
</group>
</page>

</notebook>
</page>

<!-- Patient Medication and Vaccinations -->

<page string="Medication" id="patient_medication">
<field name="medications"/>
<field name="vaccinations"/>
</page>

<!-- Patient Diseases -->
<page string="Diseases" id="patient_diseases">
<field name="diseases" colspan="4"/>
</page>

<!-- Patient Evaluations NOW as a shortcut
<page string="Evaluations" id="patient_evaluations">
<field name="evaluation_ids" colspan="4"/>
</page>
-->

</notebook>
</form>
[Tue Sep 27 18:48:21 2011] ERROR:convert:Error while parsing xml file:
In tag record: model ir.ui.view with id gnuhealth_patient_view_form.

Mario Puntin <mariomop>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cedk (Posted a comment)
  • -unavailable- added by meanmicio (Posted a comment)
  • -unavailable- added by mariomop (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Oct 2011 04:15:23 PM UTCcedkStatusPostponed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 28 Sep 2011 12:28:39 PM UTCcedkStatusConfirmed=>Postponed
    Tue 27 Sep 2011 11:07:55 PM UTCmeanmicioCategoryNone=>Tryton
      StatusNone=>Confirmed
      Assigned toNone=>cedk

    Back to the top


    Powered by Savane 3.1-cleanup1