Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
9828 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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.

Nejlepší odpověď

Take a look at account_fiscal_position_country module.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
lis 24
1567
1
dub 24
2087
0
úno 24
2019
1
pro 23
1547
0
led 24
260