← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 686581] [NEW] problem creating Fiscal Positions - Tax Mapping

 

Public bug reported:

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.

** Affects: openobject-addons
     Importance: Undecided
         Status: New

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





Follow ups

References