Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: connector_ecommerce dependency in v9

by
atchuthantu
- 09/05/2016 08:59:58
Hello,

We have made the initial commit for Sale automatic workflow.
You could try the module at OCA's runbot: http://3146843-291-b23c2e.runbot1.odoo-community.org/?db=3146843-291-b23c2e-all

Let us know the feedbacks and comments.
Related PR: https://github.com/OCA/sale-workflow/pull/291

On Wednesday 04 May 2016 06:23 PM, Stephan Keller wrote:
<blockquote cite="mid:CAJYazoHU6ypOfxqrtsRvK3uLD1t1Tq+OUWV0q=L0OmprpJ9gAA@mail.gmail.com" type="cite">
Hello to all,

Sorry we were away on a company trip the last 4 days and we are just back from that.

We are almost done with sale_automatic_workflow.

Guewen: we are not working on creating the payment from the SO, we are automating the creation of the payment from the invoice.

We were planning to create a module with a very simple definition on payment.method (company, journal, payment term).  

I think we can use https://github.com/akretion/banking/tree/9-sorrento-code-sprint/account_payment_mode.  Thanks Alexis for the description.  I have to review that in more detail but my concern is that there might be more than we need there, but if everybody agrees that it is the way to go, then we will use it.

Thanks,
Stephan.




On Mon, May 2, 2016 at 12:07 PM, Alexis de Lattre <alexis.delattre@akretion.com> wrote:
As Sebastien Beau already explained in this thread, we worked during the Sorrento code sprint to modularise the code so that the payment method object can be shared between the OCA e-commerce and bank-payment projects in v9 (it was not the case in v8, which was a bit stupid).

In fact, there are 2 important objects in v9 :
1) account.payment.method (defined in the official "account" module) : this is the technical definition of the payment method, company-independant (equivalent of payment.mode.type in v8)
2) account.payment.mode (defined in the OCA module "account_payment_mode") : this object has a company_id field and has a M2O link to account.payment.method (equivalent of payment.mode in v8, which was defined in account_payment).

The module account_payment_partner and account_payment_sale add the account.payment.mode object on customers/suppliers + sale.order + invoice + account.move.line. The field value is copied from customer to sale.order, then from sale.order to invoice, then from invoice to account.move.line (the account mode line with the customer account). All these modules work fine on v9 in this branch : https://github.com/OCA/bank-payment/pull/270 If you find bugs, you can report them to me and I'll fix them. These module are light and only do the minimum that they should do, so it should not be a problem to use them in OCA/e-commerce and other OCA projects. For example, you can use these module without using the OCA/bank-payment modules that bring payment and direct debit orders (module account_payment_order).

Regards,

Alexis

2016-05-02 16:08 GMT+02:00 Guewen Baconnier <guewen.baconnier@camptocamp.com>:

Very nice!
I'll have a look, thanks all :)

On Mon, May 2, 2016 at 3:38 PM, Sebastien Beau <sebastien.beau@akretion.com> wrote:
Hi Guewen.
Indeed Alexis have refactored the payment method needed for the bank payment project. I will be great to use the base module. The module is here : https://github.com/akretion/banking/tree/9-sorrento-code-sprint/account_payment_mode


2016-05-02 15:23 GMT+02:00 <Bidoul@pad.odoo-community.org>:
Hi Guewen, Stephan,

I've not followed this thread, but you may want to coordinate with Alexis de Lattre who is working on bank payment for v9, and there may be convergences there.

-sbi

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Alexis de Lattre
Akretion France - 35B rue Montgolfier - 69100 Villeurbanne - France
Mail : alexis.delattre@akretion.com
Tel : +33 4 82 53 84 58
Mobile : +33 6 99 08 92 45

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe




--
Stephan Keller, Ph. D.
CEO Sodexis, Inc.
Orlando/Longwood, FL
www.sodexis.com
Odoo Certified Expert
http://www.linkedin.com/in/stephankellersodexis
Phone: (407) 278-4917
Cell: (407) 202-8998

_______________________________________________
Mailing-List: http://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: http://odoo-community.org/groups?unsubscribe


-- 

Thanks & Regards,
Atchuthan
Sodexis

Reference