Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Abstract module for exporting invoices
by
Elico Corp, Eric Caudal
Additional thoughts: you could use current csv extract module as
extract module and focus on the transformation and transport modules
for your customer.
Thanks for the contribution.
How do you plan to transfer the data from Odoo to external system? Do you plan to use odoo-connector? Please note that there is for example a module to export to CSV file in this project.
Anyway, I would suggest that you abstract the layer related to data creation and separate in 2 (or more if necessary) modules like you suggest. It is far more flexible in the future as this kind of requirement seems to me quite common.
Looking forward to reading you
--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 08/13/2015 08:34 AM, Eric Caudal
wrote:
<blockquote cite="mid:55CBE633.3020302@elico-corp.com" type="cite">
Hi Miku,Thanks for the contribution.
How do you plan to transfer the data from Odoo to external system? Do you plan to use odoo-connector? Please note that there is for example a module to export to CSV file in this project.
Anyway, I would suggest that you abstract the layer related to data creation and separate in 2 (or more if necessary) modules like you suggest. It is far more flexible in the future as this kind of requirement seems to me quite common.
Looking forward to reading you
--
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
Eric Caudal [Founder and CEO]
Skype: elico.corp. Phone: + 86 186 2136 1670 (Cell), + 86 21 6211 8017/27/37 (Office)
Elico Shanghai (Shenzhen/Singapore) Odoo Gold Partner, best Odoo Partner 2014 for APAC
On 08/13/2015 02:07 AM, Miku Laitinen
wrote:
<blockquote
cite="mid:CAD-eYikby8BcUAHKd+VDeAJKdC8kN-Q_TYd=qktc3UPun=A0JA@mail.gmail.com"
type="cite">
Hello,
I'm currently planning to create a module for exporting
sales invoices to a 3rd party accounting software. After
confirming the invoice the user only has to click a "Send"
button and the invoice is then transferred to the 3rd party
system via SFTP. A cron job then queries two SFTP
directories (successful & unsuccessful) and checks if
the invoice was successfully saved in the 3rd party system,
and updates the export state of the invoice in Odoo.
Does anyone know if there is an abstract base module for
exporting invoices into other systems?
Like account_bank_statement_import is for importing bank
account statements and account_bank_statement_import_ofx is
just one implementation of it.
I'm asking this because I _could_ make a single
"all-in-one" module that handles everything, but I know
there will be a need for other similar integrations in the
future. That is why I think there should be a base module
for this (eg. account_invoice_export) and modules that
depend on the base module (eg.
account_invoice_export_vendorX). The base module should at
least manage the export states and message logs.
Miku Laitinen
AVOIN.SYSTEMS
_______________________________________________
Mailing-List: http://odoo-community.org/groups/oca-contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe
Reference
-
Abstract module for exporting invoices
byWeb-veistämö Oy/Avoin.Systems, Miku Laitinen.-
Re: Abstract module for exporting invoices
byWeb-veistämö Oy/Avoin.Systems, Miku Laitinen. -
Re: Abstract module for exporting invoices
byCamptocamp SA, Joël Grand Guillaume
-