Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD][8.0]sale_order_line_date #323

Merged
merged 3 commits into from
Aug 28, 2017

Conversation

AaronHForgeFlow
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow commented Aug 2, 2016

Sale order line date

This module adds requested date to a sales order lines and propagate it to
stock moves and procurement.

When the requested date of the whole sale order is modified the requested date
of the lines change to match.

Usage

Add a requested date for a sale order line. Confirm the sale. The scheduled date of the procurement will be the same as in the sale order line.

@oca-clabot
Copy link

Hey @aheficent, thank you for your Pull Request.

It looks like some users haven't signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement here: http://odoo-community.org/page/website.cla
Here is a list of the users:

Appreciation of efforts,
OCA CLAbot

@oca-clabot
Copy link

Hey @aheficent,
We acknowledge that the following users have signed our Contributor License Agreement:

Appreciation of efforts,
OCA CLAbot



This module adds requested date to a sales order lines and propagate it to
stock moves and procurements
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you clarify how this relates to the sale order's requested_date field from sale_order_dates?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thank you @StefanRijnhart

@StefanRijnhart StefanRijnhart added this to the 8.0 milestone Sep 28, 2016
@StefanRijnhart
Copy link
Member

Thank you. Your branch has merge commits. Either you can rebase now or we should rebase or squash at merge time.

Copy link

@susport susport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please to correct the travis error.

# © 2015 Eficent Business and IT Consulting Services, S.L.
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from openerp import models, fields, api
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Order by name the import, about OCA guide

@pedrobaeza
Copy link
Member

Put the module name in singular according OCA guidelines.

@andhit-r
Copy link
Member

andhit-r commented Dec 9, 2016

@pedrobaeza i notice that this module migrate from odoomrp-wip. Name changes will affect database that already has sale_order_line_dates. Changes according OCA guidelines is unavoidable, but would you kindly point me any doc on how to correct this issue. Are these docs enough:

  1. http://www.serpentcs.com/serpentcs-how-to-rename-odoo-module-without-losing-data
  2. http://www.hitechnologia.com/forum/odoo-forum-1/question/odoo-openerp-how-to-rename-an-addon-or-custom-module-without-losing-data-323

Many thanks

@AaronHForgeFlow
Copy link
Contributor Author

According to that I should add some migrations scripts to rename the columns related to the module name. Shouldn't I?

@JordiBForgeFlow
Copy link
Sponsor Member

JordiBForgeFlow commented Dec 20, 2016 via email

@AaronHForgeFlow AaronHForgeFlow changed the title [ADD][8.0] sale order line dates [ADD][8.0]sale_order_line_date Dec 20, 2016
@pedrobaeza
Copy link
Member

You can use openupgradelib for updating a module name in case you have an installation with old OdooMRP module. In case of migrating to another version, OpenUpgrade can also help, but that's not the case.

@AaronHForgeFlow
Copy link
Contributor Author

All right @pedrobaeza Thank you for the explanation

@AaronHForgeFlow AaronHForgeFlow force-pushed the 8.0-sale_order_line_dates branch 2 times, most recently from 5a56ae6 to 2c47843 Compare December 21, 2016 11:03
* Jordi Ballester <jordi.ballester@eficent.com>
* Aaron Henriquez <ahenriquez@eficent.com>

Maintainer
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rafaelbn
Copy link
Member

Do you know why runbot is 💔 ?

@AaronHForgeFlow
Copy link
Contributor Author

I can run it but I cannot see the logs. Strange.

@AaronHForgeFlow
Copy link
Contributor Author

I tested on runbot and I got an error when duplicating a sales order:

image

May it be related to this issue: #304 ?


.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/213/8.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AaronHForgeFlow AaronHForgeFlow force-pushed the 8.0-sale_order_line_dates branch 2 times, most recently from e5c3b8f to b11b5a6 Compare June 14, 2017 08:49
Copy link
Contributor

@MiquelRForgeFlow MiquelRForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, squash commits 🙂

oihane and others added 3 commits June 22, 2017 13:26
[MOD] <sale_order_line_dates> working onchange

[MOD] <sale_order_line_dates> fixed pep8 error

[FIX] sale_order_line_dates: Avoid expected singleton on onchange

[FIX] If sale.order fields are datetime in line it must also be
[IMP] Solve bug when line's requested_date was empty
[FIX] Update readme to latest template
@AaronHForgeFlow
Copy link
Contributor Author

Done @mreficent 🎸

@LoisRForgeFlow
Copy link
Contributor

@StefanRijnhart @darshan-serpent @susport could you please update your reviews?

Copy link
Member

@serpentcs-dev1 serpentcs-dev1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@JordiBForgeFlow JordiBForgeFlow merged commit 16d888b into OCA:8.0 Aug 28, 2017
@LoisRForgeFlow LoisRForgeFlow deleted the 8.0-sale_order_line_dates branch August 29, 2017 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet