Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
7 Vastaukset
6406 Näkymät

There should be group invoice in OpenERP.........

Avatar
Hylkää

@sandeep: are u on skype???

Paras vastaus

Yess you are right. There must be group invoice in OpenERP but it is not there.

Avatar
Hylkää
Paras vastaus

Actually you can group purchase orders. And there are modules that group POS orders. You can develop a module that does that

Avatar
Hylkää

>> Actually you can group purchase orders. ---- But HOW do you do it?

....and which modules? Can you explain how to develop this module?

Paras vastaus

There is module for doing that :

https://www.odoo.com/apps/modules/8.0/account_invoice_merge/

Avatar
Hylkää
Paras vastaus

I have attempted to make this work without success. In stock.py on line 1096 the action_invoice_create method has a parameter "group" and below the comment says it is the flag for a group invoice. So I put OpenERP in Developer Mode and created two Incoming Shipments from the same supplier and processed them both through to Received. Then in list view I selected the check boxes for both shipments and then chose Create Draft Invoices from the "More" menu. The dialog presented has the checkbox for Group by Partner which shows as boolean when moused-over in Developer mode. I'm assuming it is the parameter mentioned above. However after checking it and clicking Create I get an error -

IntegrityError: null value in column "account_id" violates not-null constraint.

I realize this may not be a very helpful answer but hopefully it will point you in the right direction so you might figure it out. At least you know now where you can create a group invoice....

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
lokak. 21
6276
0
marrask. 23
1402
2
toukok. 25
1147