create a module to make sale and delivery compatible with l10n_br

Registered by Raphaël Valyi - http://www.akretion.com

Currently, installing both sale and delivery and related l10n_br modules requires you patch account_fiscal_position_rule_sale this way. This is a sucking OpenERP framework limitation, but with have to deal with it. A better workaround would be to create an other module that would either override the on_change to make it compatible or add the dependency (but that might require to restart the server which sucks. BTW, OpenERP said they will change their on_change positional arguments for a dictionary based system which will eliminate this kind of issues, but this is for later.

patch required currently (after that you should restart your server with option --update=base --database=database_name):

=== modified file 'account_fiscal_position_rule_sale/__openerp__.py'
--- account_fiscal_position_rule_sale/__openerp__.py 2010-10-26 06:11:54 +0000
+++ account_fiscal_position_rule_sale/__openerp__.py 2010-12-20 11:40:24 +0000
@@ -28,7 +28,7 @@
     'description': """Include a rule to decide the correct fiscal position for Sale""",
     'author': 'Akretion',
     'website': 'http://www.akretion.com',
- 'depends': ['account_fiscal_position_rule', 'sale'],
+ 'depends': ['account_fiscal_position_rule', 'sale', 'delivery'],
     'init_xml': [],
     'update_xml':
                 [

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Renato Lima - http://www.akretion.com
Completed by
Renato Lima - http://www.akretion.com

Related branches

Sprints

Whiteboard

Foi modificado a assinatura do método onchange_partner_id utilizado nos modulos account_fiscal_position_rule_sale e delivery no commit 5475 da branch extra-addons-6.0

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.