lp:~roberto-v/openobject-italia/7.0
- Get this branch:
- bzr branch lp:~roberto-v/openobject-italia/7.0
Branch merges
- Lorenzo Battistini: Approve (code review)
-
Diff: 166 lines (+114/-4)5 files modifiedl10n_it_withholding_tax/__init__.py (+1/-0)
l10n_it_withholding_tax/__openerp__.py (+3/-1)
l10n_it_withholding_tax/account.py (+27/-3)
l10n_it_withholding_tax/partner.py (+36/-0)
l10n_it_withholding_tax/partner_view.xml (+47/-0)
Branch information
Recent revisions
- 241. By Roberto Gianassi
-
[FIX] When partner field is empty value is False.
The value passed to the onchange_partner_id for the partner is False
when the field is empty. In this case, it is not possible to use such a
value with the browse function or an error arises. Fixed that. - 240. By Roberto Gianassi
-
[FIX] Bug fix to save record.
For unknown reasons, if a boolean value has the required field to True,
it is not possible to save the corresponding supplier record.
Removed the field to fix that. - 237. By Roberto Gianassi
-
[FIX] Fixed a bug on XML record creation.
If a module (like fetchmail_invoice) containing a partner record to be
preinstalled through a data.xml file was installed after this one, a
bug occurred.
The bug shows because the record is created with the
default_has_withholding flag to empty and then validation fails.
To solve this, the create function for partners is changed to check for
the presence of that flag in the vals dictionary. If the flag is found,
we assume the creation happens through the UI and so normal checking goes
on. If the flag is not found, we assume the creation happens for an XML
record and so we add an arbitrary, but valid value for the flag.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)