Community mailing list archives

community@mail.odoo.com

Re: Does anybody have a module that calculate taxes based not per line but for global invoice amount?

by
Juan
- 08/05/2016 09:35:17
Thanks Eric/Ermin,

For v8, how is that achieved?

I need to customize and use the values of the account_invoice table... something like this:

if invoice_id.amount_untaxed > 2500 and invoice_id.amount_untaxed<30000:
   result = invoice_id.amount_untaxed*0.05
elif amount_untaxed > 30000:
   result = invoice_id.amount_untaxed*0.07
else:
   result = 0


On Fri, Aug 5, 2016 at 7:08 AM, Odoo Ninja <odooninja@gmail.com> wrote:

On Fri, Aug 5, 2016 at 11:13 AM, Ermin Trevisan <trevi@twanda.com> wrote:
And also in V9

On 05.08.2016 06:52, Eric Caudal (Elico Corp) wrote:
> This is a accounting setup in Odoo at least as of v8 > > > > Eric Caudal from my mobile device > > _______________________________________________ > Mailing-List: https://www.odoo.com/groups/community-59 > Post to: mailto:community@mail.odoo.com > Unsubscribe: https://www.odoo.com/groups?unsubscribe >
-- twanda AG Ermin Trevisan Artherstrasse 19 CH-6318 Walchwil T +41 41 758 1515 M +41 79 208 7373 E trevi@twanda.com www.twanda.ch www.twanda.ch/page/restaurant

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe


_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe