Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
9755 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Mejor respuesta

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

Mejor respuesta

Take a look at account_fiscal_position_country module.

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
nov 24
1477
1
abr 24
2000
0
feb 24
1925
1
dic 23
1488
0
ene 24
260