Thanks Stephane. I suggest a simple boolean option allowing to force partner on payable or recevable account only.
I mean I think we should not allow users to select the 3 options (always, optional or never) like in account_analytic_required...otherwise, we might have problems on auto-generated journal entries (from invoices, bank statements, voucher...) + we will have inconstant data (vs history). Cordialement, *camptocamp* INNOVATIVE SOLUTIONS BY OPEN SOURCE EXPERTS *Frédéric Clementi* Project Manager Business Solutions +41 21 619 10 41 www.camptocamp.com 2014-04-16 12:03 GMT+02:00 Bidoul, Stéphane <stephane.bid...@acsone.eu>: > +1 for account_partner_required on the same principle as > account_analytic_required. > > Since I had something like that in mind since some time. I'll do a merge > proposal. > > -sbi > > > On Wed, Apr 16, 2014 at 10:56 AM, Frédéric Clementi < > frederic.cleme...@camptocamp.com> wrote: > >> account_constaints will not help on this. >> >> Although I wanted to do so as well in first place, forcing a partner on >> any recevable/payable account is not necessary in several cases. ie : taxes >> due, social contribution to pay, net wages (if do not want to specifiy >> names). >> >> I can also add that some of our customer in e-commerce business do not >> post every single sales but use a generic debtor account (via manual entry >> posting). >> >> For these reasons we decided not to add such a constraint into >> 'account_constaints' module. >> >> >> However, it would be good to have a module allowing you to decide to >> force a partner on some specified accounts ; a bit like this has been done >> for analytic accounts (account_analytic_required in lp:account-analytic). >> >> Please also note that the partner, in OpenERP account move lines, is not >> only used a as auxiliary account but like a extra analytic dimension as >> well. >> i.e: when creating and validating an invoice, you will notice that, on >> the journal entry generated, the partner is also indicated to the sales >> account lines and VAT account line (and not only the debtor/creditor >> account line). >> >> >> >> >> >> Cordialement, >> >> >> >> *camptocamp* >> >> >> INNOVATIVE SOLUTIONS >> BY OPEN SOURCE EXPERTS >> >> *Frédéric Clementi* >> >> >> >> Project Manager >> Business Solutions >> >> +41 21 619 10 41 >> >> >> >> >> www.camptocamp.com >> >> >> >> 2014-04-15 16:01 GMT+02:00 Peter Langenberg < >> peter.langenb...@bubbles-it.be>: >> >> Maybe this is something for : >>> >>> account_constraints ? >>> >>> bzr+ssh:// >>> bazaar.launchpad.net/~account-core-editors/account-financial-tools/7.0/ >>> >>> Peter >>> >>> 2014-04-15 15:52 GMT+02:00 Jos De Graeve <jos.degra...@apertoso.be>: >>> >>>> Hello, >>>> >>>> >>>> Currently it is possible to create move lines on receivable/payable >>>> accounts without specifying a certain partner_id. >>>> >>>> >>>> I'm not an accountant but that doesn't seem logical to me. I've >>>> found an old bug report concerning this, but the attached fix does not seem >>>> to fix the issue: >>>> >>>> >>>> https://bugs.launchpad.net/openobject-addons/+bug/662538 >>>> >>>> >>>> Is there a community module that fixes this ? or am i missing >>>> something obvious ? >>>> >>>> >>>> Tnx >>>> >>>> Jos De Graeve >>>> >>>> >>>> >>>> Apertoso business ICT - http://www.apertoso.be/ >>>> >>>> Guido Gezellelaan 16 - B-9800 Deinze - Belgium >>>> >>>> >>>> >>>> Direct: +32 9 381 64 51 >>>> >>>> General:+32 9 381 64 50 >>>> >>>> Mobile: +32 475 54 68 80 >>>> >>>> mail/im/skype: jos.degra...@apertoso.be - apertoso >>>> >>>> _______________________________________________ >>>> Mailing list: https://launchpad.net/~openerp-community >>>> Post to : openerp-community@lists.launchpad.net >>>> Unsubscribe : https://launchpad.net/~openerp-community >>>> More help : https://help.launchpad.net/ListHelp >>>> >>>> >>> >>> _______________________________________________ >>> Mailing list: https://launchpad.net/~openerp-community >>> Post to : openerp-community@lists.launchpad.net >>> Unsubscribe : https://launchpad.net/~openerp-community >>> More help : https://help.launchpad.net/ListHelp >>> >>> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openerp-community >> Post to : openerp-community@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openerp-community >> More help : https://help.launchpad.net/ListHelp >> >> >
_______________________________________________ Mailing list: https://launchpad.net/~openerp-community Post to : openerp-community@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community More help : https://help.launchpad.net/ListHelp