Hello,
Under debug mode Im getting an error any time I click on any sequence on Odoo. It doesnt matter which one, in all of them the result is the same.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello,
Under debug mode Im getting an error any time I click on any sequence on Odoo. It doesnt matter which one, in all of them the result is the same.
I have got the answer for you, I was talking with someone else who had the problem and he found the solution. The problem it is from sequence form view
You have to comment temporary while you edit the sequence you want then uncomment the same view. This is a kind of error that its expected to be fixed with an update
<?xml version="1.0"?>
<form string="Sequences">
<sheet>
<group>
<group>
<field name="name"/>
<field name="implementation"/>
</group>
<group>
<field name="code"/>
<field name="active"/>
<field name="company_id" groups="base.group_multi_
</group>
</group>
<notebook>
<page string="Sequence">
<group>
<group>
<field name="prefix"/>
<field name="suffix"/>
<field name="use_date_range"/>
</group>
<group>
<field name="padding"/>
<field name="number_increment"/>
<field name="number_next_actual" string="Next Number" attrs="{'invisible': [('use_date_range', '=', True)]}"/>
</group>
</group>
<field name="date_range_ids" attrs="{'invisible': [('use_date_range', '=', False)]}">
<tree string="Sequences" editable="top">
<field name="date_from"/>
<field name="date_to"/>
<field name="number_next_actual" string="Next Number"/>
</tree>
</field>
<!--
<group col="3" string="Legend (for prefix, suffix)">
<group>
<span colspan="2">Current Year with Century: %(year)s</span>
<span colspan="2">Current Year without Century: %(y)s</span>
<span colspan="2">Month: %(month)s</span>
<span colspan="2">Day: %(day)s</span>
</group>
<group>
<span colspan="2">Day of the Year: %(doy)s</span>
<span colspan="2">Week of the Year: %(woy)s</span>
<span colspan="2">Day of the Week (0:Monday): %(weekday)s</span>
</group>
<group>
<span colspan="2">Hour 00->24: %(h24)s</span>
<span colspan="2">Hour 00->12: %(h12)s</span>
<span colspan="2">Minute: %(min)s</span>
<span colspan="2">Second: %(sec)s</span>
</group>
</group>
<group attrs="{'invisible': [('use_date_range', '=', False)]}">
<div>
When subsequences per date range are used, you can prefix variables with 'range_'
to use the beginning of the range instead of the current date, e.g. %(range_year)s instead of %(year)s.
</div>
</group>
-->
</page>
</notebook>
</sheet>
</form>
Just comment the view lines as proposed above and that would do it
FrFrancisco you could solve ... I have the same problem ..
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up