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] New modules #124

Closed
wants to merge 0 commits into from
Closed

Conversation

maq-adhoc
Copy link
Contributor

No description provided.

@roboadhoc
Copy link

@maq-adhoc maq-adhoc force-pushed the 16.0-T-30996-V1-MAQ branch 5 times, most recently from 5125b64 to 83f7e6d Compare May 15, 2023 23:39
Copy link
Member

@jjscarafia jjscarafia left a comment

Choose a reason for hiding this comment

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

van los cambios que hablamos hoy

check_company=False, # Unrequired company
)

def _get_warehouse_available(self):
Copy link
Member

Choose a reason for hiding this comment

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

agregar un comentario explicando el porque
lo vamos a sacar a otro modulo
además vemos de reutiliazr codigo :
self.env['ir.default'].get('sale.order', 'warehouse_id', company_id=self.company_id.id) or
self.env['stock.warehouse'].sudo().search([('company_id', '=', self.company_id.id)], limit=1).id



def sale_get_order(self, force_create=False, update_pricelist=False):
sale_order_sudo = super().sale_get_order(force_create, update_pricelist)
Copy link
Member

Choose a reason for hiding this comment

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

agregar comentario de porque creamos y luego hacemos write (que es por el raise)

@maq-adhoc maq-adhoc force-pushed the 16.0-T-30996-V1-MAQ branch 4 times, most recently from 9bff012 to 7918625 Compare May 22, 2023 14:34
@jjscarafia jjscarafia closed this May 30, 2023
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

3 participants