On 20 Jan 15:41, Christophe (net) wrote: > Hi, > I return to the subject of the sales price with tax included. > I have carefully read the blue print and I have followed the > discution with Cedric on TUB2013, the general idea had concensus was > to define a object dedicated for these sales. If I agree with this > idea, the implementation is heavy (many module to modify based on > this new object: sale_pos, nereid, ...) ,
Those module will have to be adapted any way. > this weekend I decided to > overload the Sale object and Invoice object to allow sales management > with prices tax included. That's very unfortunate. Because it was clearly identify that the workflows were very different. > This new module (sale_b2bc) depends on the module sale_shop from > ZikZakmedia. > In summary: > - Adding a flag on products to indicate if the list_price is tax included This will break any module that rely on list_price being tax excluded. So it must be an other field. > - Adding a choice to the store to indicate if sales can be made tax > included, tax excluded or both > - Adding an option to object Sale to indicate if price is tax > included or not. What happens if changed after filled lines? Why having such flag? As in any way, a unit price tax excluded should be computed, why not just put it on the sale line? > - Change the calculation of taxes on sale and invoice to add tax > included possibility The reverse tax computation should be interresting. > - Modification of invoice object to adding tax included calculation > like sale. What is the point? Why would you want an invoice tax included? And what does it mean? > - Modification of the generation of accounting entries The accounting should not be changed if you sale with tax included or not. > what remains to be done > - The integration with stock management : valuation movements and > invoice creation from deliveries Don't understand this should have nothing to do with taxes. > - Add the installation procedure for PyPI > - Add unit tests > - Add doc > - And tests, tests and still test :-) > > You can find the repository of the dev version here: > https://gitorious.org/ate_modules/trytond-sale_b2bc : branch dev_3.0 I doubt such module could be included. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
pgpaHXcd6YKKj.pgp
Description: PGP signature