GoodERP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 satır
805B

  1. from odoo import fields, models, api
  2. class CostLine(models.Model):
  3. _inherit = 'cost.line'
  4. sell_id = fields.Many2one('sell.delivery', '出库单号',
  5. ondelete='cascade',
  6. help='与销售费用相关联的出库单号')
  7. class MoneyOrder(models.Model):
  8. _inherit = 'money.order'
  9. sell_id = fields.Many2one('sell.order', '销售订单',
  10. ondelete='restrict',
  11. help='与付款相关的销售订单号')
  12. class MoneyInvoice(models.Model):
  13. _inherit = 'money.invoice'
  14. move_id = fields.Many2one('wh.move', string='出入库单',
  15. readonly=True, ondelete='cascade',
  16. help='生成此发票的出入库单号')
上海开阖软件有限公司 沪ICP备12045867号-1