Skip to Content
Menu
This question has been flagged
3 Replies
9061 Views

I've been trying to configure OpenERP to automatically assign Customers (res.partner) Fiscal Position value based on their location. I've tried with Automated Action Rules (base_action_rule) module, however without success. Perhaps I've miss-configured them, or maybe it's entirely impossible to do this automation using Automated Action Rules.

Here is what I did:

  • Related Document Model: res.partner

  • Before Update Filter - domain:[['customer', '=', 1], ['country_id', '!=', 'United States'], ['property_account_position', '!=', 'Tax Exempt']]

  • After Update Filter - domain:[['customer', '=', 1], ['country_id', '!=', 'United States'], ['property_account_position', '=', 'Tax Exempt']]

  • server action: Condition: True, Object: res.partner, Action Type: Write, Model: res.partner, Field: Fiscal Position - Value - account.fiscal.position,2

Is there a non-programmatic way (by that I mean not creating a module or otherwise altering the code of the application) of doing this?

Avatar
Discard
Best Answer

Have a look at the modules:

  • account_fiscal_position_rule
  • account_fiscal_position_rule_purchase
  • account_fiscal_position_rule_sale
  • account_fiscal_position_rule_stock

You can find them in the community project openerp-fiscal-rules

You'll be able to apply a fiscal position based on the origin country or state and destination country or state. Theses modules can also be easily extended with additional rules (based on a category of partners for instance).

Avatar
Discard
Best Answer

may be useful for you (found at [http://www.netcerto.eu/en/openerp-possibilities/accounting-module]) ....................3.2.1 Taxation

C:\fakepath\60. Accounting module - tax regions.JPG

I don't know if it is implemented in V7.

Avatar
Discard
Author

I've figured that automatic taxation based on a customer region is not native functionality of v7 however, Fiscal Position can be useful in these situations. Manually assigning Fiscal Position to customer results in expected behavior. Now, the problem is how to automatically assign Fiscal Position to customer once it's location has been set.

Best Answer

Take a look at account_fiscal_position_country module.

Avatar
Discard
Related Posts Replies Views Activity
1
Nov 24
68
1
Apr 24
564
0
Feb 24
667
1
Dec 23
338
0
Jan 24
260