← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 686581] Re: problem creating Fiscal Positions - Tax Mapping

 

Hello Collin,

I suspect this to be a pure GTK client regression from the last days (one
week at least), could notice the same error on several different forms. Hope
the get it fixed. Work around: revert your client from a few versions
(before the asynch stuff and further bugs).


On Tue, Dec 7, 2010 at 12:26 PM, Colin MacMillan (publicus-solutions.com) <
686581@xxxxxxxxxxxxxxxxxx> wrote:

> Further update, the error appears when you click SAVE on the Fiscal
> Position.
>
> I also have received this error, which is slightly different:
>
> Traceback (most recent call last):
>   File
> "/home/openerp/openerp_v6/openobject-client/bin/modules/gui/main.py", line
> 1339, in _sig_child_call
>    res = wid.handlers[button_name]()
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/modules/gui/window/form.py",
> line 332, in sig_save
>    res = self.screen.save_current()
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/screen/screen.py",
> line 707, in save_current
>    self.current_view.set_value()
>  File "/home/openerp/openerp_v6/openobject-client/bin/widget/view/form.py",
> line 322, in set_value
>    widget.set_value(model)
>  File "/home/openerp/openerp_v6/openobject-client/bin/widget/view/form.py",
> line 66, in set_value
>    self.widget.set_value(model, model.mgroup.mfields[self.widget_name])
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/view/form_gtk/one2many_list.py",
> line 426, in set_value
>    self.screen.current_view.set_value()
>  File "/home/openerp/openerp_v6/openobject-client/bin/widget/view/list.py",
> line 681, in set_value
>    self.widget_tree.set_value()
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/view/tree_gtk/editabletree.py",
> line 158, in set_value
>    modelfield = model[column.name]
>   File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/model/record.py",
> line 100, in __getitem__
>    return self.mgroup.mfields.get(name, False)
> AttributeError: 'ModelRecordGroup' object has no attribute 'mfields'
>
> --
> You received this bug notification because you are subscribed to
> OpenObject Addons.
> https://bugs.launchpad.net/bugs/686581
>
> Title:
>  problem creating Fiscal Positions - Tax Mapping
>
> Status in OpenObject Addons Modules:
>  New
>
> Bug description:
>  I am creating Fiscal Positions ...
> 1) Click New - type name and select company
> 2) Create new tax mapping -
>
> When creating a new tax mapping, if i click on the form view, I get the
> following error:
>
> Traceback (most recent call last):
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/view/tree_gtk/parser.py",
> line 292, in setter
>    text = self.get_textual_value(model)
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/view/tree_gtk/parser.py",
> line 347, in get_textual_value
>    return model[self.field_name].get_client(model) or ''
>  File
> "/home/openerp/openerp_v6/openobject-client/bin/widget/model/record.py",
> line 100, in __getitem__
>    return self.mgroup.mfields.get(name, False)
> AttributeError: 'ModelRecordGroup' object has no attribute 'mfields'
>
> If I do not use the form view and instead enter the tax mapping in the
> list, it works fine and I can save.
>
>
>

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/686581

Title:
  problem creating Fiscal Positions - Tax Mapping

Status in OpenObject Addons Modules:
  New

Bug description:
  I am creating Fiscal Positions ...
1) Click New - type name and select company
2) Create new tax mapping - 

When creating a new tax mapping, if i click on the form view, I get the following error:

Traceback (most recent call last):
  File "/home/openerp/openerp_v6/openobject-client/bin/widget/view/tree_gtk/parser.py", line 292, in setter
    text = self.get_textual_value(model)
  File "/home/openerp/openerp_v6/openobject-client/bin/widget/view/tree_gtk/parser.py", line 347, in get_textual_value
    return model[self.field_name].get_client(model) or ''
  File "/home/openerp/openerp_v6/openobject-client/bin/widget/model/record.py", line 100, in __getitem__
    return self.mgroup.mfields.get(name, False)
AttributeError: 'ModelRecordGroup' object has no attribute 'mfields'

If I do not use the form view and instead enter the tax mapping in the list, it works fine and I can save.





References