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] Migrated stock_picking_line_sequence to v9. #262

Closed
wants to merge 0 commits into from

Conversation

SerpentCS
Copy link

No description provided.

@pedrobaeza
Copy link
Member

You should convert YML tests to Python ones, as they are deprecated


* stock_picking_reorder_lines (https://github.com/OCA/stock-logistics-workflow/)

Configuration
Copy link
Member

Choose a reason for hiding this comment

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

Remove empty section.


To install this module, you need to install its dependant module:

* stock_picking_reorder_lines (https://github.com/OCA/stock-logistics-workflow/)
Copy link
Member

Choose a reason for hiding this comment

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

This module is stock_picking_reorder_line, so there's no real dependency. Remove this.

{
'name': 'Stock picking lines with sequence number',
'version': '8.0.0.1.0',
'version': '9.0.1.0.1',
Copy link
Member

Choose a reason for hiding this comment

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

This is the first 9.0 version, so 9.0.1.0.0

#
#
# © 2015 Eficent Business and IT Consulting Services S.L. -
# Jordi Ballester Alomar
Copy link
Member

Choose a reason for hiding this comment

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

Only one line per copyright, so remove this one

#
#
# © 2015 Eficent Business and IT Consulting Services S.L. -
# Jordi Ballester Alomar
Copy link
Member

Choose a reason for hiding this comment

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

Only one line per copyright

@SerpentCS SerpentCS changed the title [ADD] Migrated stock_picking_reorder_line to v9. [ADD] Migrated stock_picking_line_sequence to v9. Mar 6, 2017
@@ -13,7 +13,7 @@
"Serpent CS, "
"Odoo Community Association (OCA)",
'website': 'http://www.camptocamp.com',
'depends': ['stock', 'sale', 'sale_stock'],
Copy link
Sponsor Contributor

Choose a reason for hiding this comment

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

IMO, prefer explicit dependencies than implicit

@serpentcs-dev1
Copy link
Member

@jbeficent I have made new changes, could you please review?

Installation
============

No specific installation requirements.
Copy link
Contributor

Choose a reason for hiding this comment

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

remove empty section.

Configuration
=============

No configuration is required.
Copy link
Contributor

Choose a reason for hiding this comment

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

remove empty section.

# -*- coding: utf-8 -*-
# Copyright 2015 Camptocamp SA
# © 2015 Eficent Business and IT Consulting Services S.L.
# © 2015 Serpent Consulting Services Pvt. Ltd.
Copy link
Contributor

Choose a reason for hiding this comment

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

why 2015? is this that old?

def write(self, values):
res = super(StockPicking, self).write(values)
for rec in self:
rec._reset_sequence()
Copy link
Contributor

Choose a reason for hiding this comment

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

IMO this makes no sense, the sequence is required to be kept to compare when invoicing or with the sale order (related lines will have same sequence number). If I change a minor thing in the picking the sequence is reset and the relation is lost.

@Cedric-Pigeon
Copy link
Contributor

@SerpentCS Hello, do you plan to achieve this PR ?

@serpentcs-dev1
Copy link
Member

@Cedric-Pigeon Okay Yes, we will resume working on this.

@AaronHForgeFlow
Copy link
Contributor

Hi @darshan-serpent are you still planning to work on this one?

@serpentcs-dev1
Copy link
Member

serpentcs-dev1 commented Jun 12, 2017

Yes, this was closed because I accidentally diverged the branch and then I tried to reset it to the OCA, which took back all the commits and this PR was closed automatically.

Maybe now I'll send a new one for the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants